summaryrefslogtreecommitdiff
path: root/sysutils/cfengine/files/patch-inputs_Makefile.in
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils/cfengine/files/patch-inputs_Makefile.in')
-rw-r--r--sysutils/cfengine/files/patch-inputs_Makefile.in30
1 files changed, 18 insertions, 12 deletions
diff --git a/sysutils/cfengine/files/patch-inputs_Makefile.in b/sysutils/cfengine/files/patch-inputs_Makefile.in
index 39bd1e37b49e..bac3996a6dc6 100644
--- a/sysutils/cfengine/files/patch-inputs_Makefile.in
+++ b/sysutils/cfengine/files/patch-inputs_Makefile.in
@@ -1,12 +1,18 @@
---- inputs/Makefile.in.orig Mon Sep 13 19:25:42 2004
-+++ inputs/Makefile.in Mon Sep 13 19:25:57 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 = ..
-
+--- inputs/Makefile.in.orig 2008-07-01 22:51:16.000000000 -0400
++++ inputs/Makefile.in 2008-07-01 22:51:37.000000000 -0400
+@@ -267,6 +267,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; \
+@@ -276,6 +277,7 @@
+ $(pkgdataSCRIPT_INSTALL) "$$d$$p" "$(DESTDIR)$(pkgdatadir)/$$f"; \
+ else :; fi; \
+ done
++.endif
+
+ uninstall-pkgdataSCRIPTS:
+ @$(NORMAL_UNINSTALL)