pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

libdecaf: Made the CFLAGS apply only for NetBSD.



Module Name:	pkgsrc-wip
Committed By:	Santhosh Raju <fox%NetBSD.org@localhost>
Pushed By:	fox
Date:		Mon May 6 06:42:43 2019 -0500
Changeset:	42bec5856d976ce906bca304fa6d2584f20a42d5

Modified Files:
	libdecaf/Makefile

Log Message:
libdecaf: Made the CFLAGS apply only for NetBSD.

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=42bec5856d976ce906bca304fa6d2584f20a42d5

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 libdecaf/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diffs:
diff --git a/libdecaf/Makefile b/libdecaf/Makefile
index 80da1adee2..0b578598eb 100644
--- a/libdecaf/Makefile
+++ b/libdecaf/Makefile
@@ -17,7 +17,7 @@ CMAKE_ARGS+=	-DENABLE_TESTS=NO
 # These are required to prevent build breakage when tests are enabled
 # This is probably due to the auto-generated headers clobbering with
 # the #defines
-CFLAGS+=	-D_NETBSD_SOURCE
+CFLAGS.NetBSD+=	-D_NETBSD_SOURCE
 
 PYTHON_FOR_BUILD_ONLY=		tool
 


Home | Main Index | Thread Index | Old Index