opnsense-ports/devel/ice/files/patch-cpp-Makefile
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

26 lines
566 B
Text

--- cpp.orig/Makefile 2013-03-11 15:19:46.000000000 +0000
+++ cpp/Makefile 2013-05-19 22:06:57.713280491 +0000
@@ -11,11 +11,22 @@
include $(top_srcdir)/config/Make.rules
-SUBDIRS = config src include test
+SUBDIRS = config src include
+
+ifeq ($(NOTESTS),)
+SUBDIRS := $(SUBDIRS) test
+endif
ifeq ($(shell uname | grep MINGW),)
+ifeq ($(NODEMOS),)
SUBDIRS := $(SUBDIRS) demo
endif
+endif
+
+ifeq ($(NOICEDOCS),)
+SUBDIRS := $(SUBDIRS) doc
+endif
+
INSTALL_SUBDIRS = $(install_bindir) $(install_libdir) $(install_includedir) $(install_configdir)