summaryrefslogtreecommitdiff
path: root/sysutils/cfengine22/files/patch-inputs_Makefile.in
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils/cfengine22/files/patch-inputs_Makefile.in')
-rw-r--r--sysutils/cfengine22/files/patch-inputs_Makefile.in18
1 files changed, 18 insertions, 0 deletions
diff --git a/sysutils/cfengine22/files/patch-inputs_Makefile.in b/sysutils/cfengine22/files/patch-inputs_Makefile.in
new file mode 100644
index 000000000000..bac3996a6dc6
--- /dev/null
+++ b/sysutils/cfengine22/files/patch-inputs_Makefile.in
@@ -0,0 +1,18 @@
+--- 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)