diff options
author | Wesley Shields <wxs@FreeBSD.org> | 2008-07-02 03:08:53 +0000 |
---|---|---|
committer | Wesley Shields <wxs@FreeBSD.org> | 2008-07-02 03:08:53 +0000 |
commit | b55f7b2bcac2a3e25ec0d012ddff60da8e4d8c6d (patch) | |
tree | 2fc68692708352fc9384445c226bf9a38e881012 /sysutils/cfengine3-legacy/files/patch-contrib_Makefile.in | |
parent | Update to 2.12.11. (diff) |
Update to 2.2.7
Properly respect NOPORTDOCS and NOPORTEXAMPLES
PR: ports/124993, ports/122057
Submitted by: Jo Rhett <jrhett@netconsonance.com>
Approved by: sergei (maintainer timeout)
Notes
Notes:
svn path=/head/; revision=216113
Diffstat (limited to 'sysutils/cfengine3-legacy/files/patch-contrib_Makefile.in')
-rw-r--r-- | sysutils/cfengine3-legacy/files/patch-contrib_Makefile.in | 30 |
1 files changed, 18 insertions, 12 deletions
diff --git a/sysutils/cfengine3-legacy/files/patch-contrib_Makefile.in b/sysutils/cfengine3-legacy/files/patch-contrib_Makefile.in index 10e3fe8f1f12..5dac09930b39 100644 --- a/sysutils/cfengine3-legacy/files/patch-contrib_Makefile.in +++ b/sysutils/cfengine3-legacy/files/patch-contrib_Makefile.in @@ -1,12 +1,18 @@ ---- contrib/Makefile.in.orig Mon Sep 13 19:21:57 2004 -+++ contrib/Makefile.in Mon Sep 13 19:22:23 2004 -@@ -17,7 +17,7 @@ - srcdir = @srcdir@ - top_srcdir = @top_srcdir@ - VPATH = @srcdir@ --pkgdatadir = $(datadir)/@PACKAGE@ -+pkgdatadir = $(prefix)/share/examples/cfengine - pkglibdir = $(libdir)/@PACKAGE@ - pkgincludedir = $(includedir)/@PACKAGE@ - top_builddir = .. - +--- contrib/Makefile.in.orig 2008-07-01 22:50:46.000000000 -0400 ++++ contrib/Makefile.in 2008-07-01 22:51:08.000000000 -0400 +@@ -251,6 +251,7 @@ + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh + install-pkgdataSCRIPTS: $(pkgdata_SCRIPTS) + @$(NORMAL_INSTALL) ++.if !defined(NOPORTEXAMPLES) + test -z "$(pkgdatadir)" || $(MKDIR_P) "$(DESTDIR)$(pkgdatadir)" + @list='$(pkgdata_SCRIPTS)'; for p in $$list; do \ + if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ +@@ -260,6 +261,7 @@ + $(pkgdataSCRIPT_INSTALL) "$$d$$p" "$(DESTDIR)$(pkgdatadir)/$$f"; \ + else :; fi; \ + done ++.endif + + uninstall-pkgdataSCRIPTS: + @$(NORMAL_UNINSTALL) |