diff options
author | minskim <minskim@pkgsrc.org> | 2007-01-21 18:13:55 +0000 |
---|---|---|
committer | minskim <minskim@pkgsrc.org> | 2007-01-21 18:13:55 +0000 |
commit | c91702e30589a47bccfb4e2e7d96023dd45cb38e (patch) | |
tree | 164967c7ff49aa6e32cfe167834beb6314ca524a /security/gnutls | |
parent | d0cb9d01e96bfff28a66cb71ce0a1ae0e9cb737e (diff) | |
download | pkgsrc-c91702e30589a47bccfb4e2e7d96023dd45cb38e.tar.gz |
Disable the C++ library on Darwin to avoid a link error (PR 35456).
According to the gnutls maintainer, the C++ compiler on Darwin is
probably broken.
Diffstat (limited to 'security/gnutls')
-rw-r--r-- | security/gnutls/Makefile | 12 | ||||
-rw-r--r-- | security/gnutls/PLIST | 6 |
2 files changed, 14 insertions, 4 deletions
diff --git a/security/gnutls/Makefile b/security/gnutls/Makefile index 3f53f87d16b..fac8781ba52 100644 --- a/security/gnutls/Makefile +++ b/security/gnutls/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.56 2007/01/20 17:38:06 wiz Exp $ +# $NetBSD: Makefile,v 1.57 2007/01/21 18:13:55 minskim Exp $ DISTNAME= gnutls-1.6.1 CATEGORIES= security devel @@ -37,6 +37,16 @@ MAKE_ENV+= TZ=UTC DOCDIR= ${PREFIX}/share/doc/gnutls EGDIR= ${PREFIX}/share/examples/gnutls +.include "../../mk/bsd.prefs.mk" + +# Darwin's g++ cannot build the gnutls C++ library (PR 35456). +.if ${OPSYS} == "Darwin" +CONFIGURE_ARGS+= --disable-cxx +PLIST_SUBST+= CXX="@comment " +.else +PLIST_SUBST+= CXX="" +.endif + INSTALLATION_DIRS= ${DOCDIR} ${EGDIR} include/gnutls post-install: diff --git a/security/gnutls/PLIST b/security/gnutls/PLIST index a9ee2c750f6..e4046f86111 100644 --- a/security/gnutls/PLIST +++ b/security/gnutls/PLIST @@ -1,4 +1,4 @@ -@comment $NetBSD: PLIST,v 1.23 2007/01/20 17:38:06 wiz Exp $ +@comment $NetBSD: PLIST,v 1.24 2007/01/21 18:13:55 minskim Exp $ bin/certtool bin/gnutls-cli bin/gnutls-cli-debug @@ -10,7 +10,7 @@ bin/srptool include/gnutls/compat.h include/gnutls/extra.h include/gnutls/gnutls.h -include/gnutls/gnutlsxx.h +${CXX}include/gnutls/gnutlsxx.h include/gnutls/openpgp.h include/gnutls/openssl.h include/gnutls/pkcs12.h @@ -19,7 +19,7 @@ info/gnutls.info lib/libgnutls-extra.la lib/libgnutls-openssl.la lib/libgnutls.la -lib/libgnutlsxx.la +${CXX}lib/libgnutlsxx.la lib/pkgconfig/gnutls-extra.pc lib/pkgconfig/gnutls.pc man/man1/certtool.1 |