opnsense-ports/sysutils/cfengine22/files/patch-contrib_Makefile.in
Franco Fichtner 8cb1a96ede ports: pull in a snapshot of the FreeBSD ports tree
Taken from:	https://github.com/freebsd/freebsd-ports.git
Commit id:	5070672073b68be364139bc6b3a89100bd17d331
2014-11-09 14:03:21 +01:00

18 lines
654 B
Text

--- 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)