pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/security/libgpg-error Need to define __DARWIN_UNIX03 t...
details: https://anonhg.NetBSD.org/pkgsrc/rev/1808c22dac6f
branches: trunk
changeset: 397780:1808c22dac6f
user: sevan <sevan%pkgsrc.org@localhost>
date: Wed Jul 03 17:17:58 2019 +0000
description:
Need to define __DARWIN_UNIX03 to use unsetenv(3) which return integer.
Resolves build on Tiger
via https://trac.macports.org/ticket/56099
diffstat:
security/libgpg-error/Makefile | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
diffs (20 lines):
diff -r cf878e1d1943 -r 1808c22dac6f security/libgpg-error/Makefile
--- a/security/libgpg-error/Makefile Wed Jul 03 16:54:32 2019 +0000
+++ b/security/libgpg-error/Makefile Wed Jul 03 17:17:58 2019 +0000
@@ -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=${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