pkgsrc-Changes archive

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

CVS commit: pkgsrc/security/libgpg-error



Module Name:    pkgsrc
Committed By:   sevan
Date:           Wed Jul  3 17:17:59 UTC 2019

Modified Files:
        pkgsrc/security/libgpg-error: Makefile

Log Message:
Need to define __DARWIN_UNIX03 to use unsetenv(3) which return integer.
Resolves build on Tiger
via https://trac.macports.org/ticket/56099


To generate a diff of this commit:
cvs rdiff -u -r1.71 -r1.72 pkgsrc/security/libgpg-error/Makefile

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

Modified files:

Index: pkgsrc/security/libgpg-error/Makefile
diff -u pkgsrc/security/libgpg-error/Makefile:1.71 pkgsrc/security/libgpg-error/Makefile:1.72
--- pkgsrc/security/libgpg-error/Makefile:1.71  Wed Mar 20 05:43:20 2019
+++ pkgsrc/security/libgpg-error/Makefile       Wed Jul  3 17:17:58 2019
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.71 2019/03/20 05:43:20 adam Exp $
+# $NetBSD: Makefile,v 1.72 2019/07/03 17:17:58 sevan Exp $
 
 DISTNAME=      libgpg-error-1.36
 CATEGORIES=    security
@@ -26,6 +26,10 @@ CONFIGURE_ENV+=              CC_FOR_BUILD=${NATIVE_C
 CONFIGURE_ENV+=                CC_FOR_BUILD=${CC:Q}\ ${CFLAGS:M*:Q}
 .endif
 
+.if !empty(MACHINE_PLATFORM:MDarwin-8.*-powerpc)
+CFLAGS+=       -D__DARWIN_UNIX03
+.endif
+
 .if !empty(MACHINE_PLATFORM:MSunOS-5.10-*)
 LIBS+= -lrt
 .endif



Home | Main Index | Thread Index | Old Index