summaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
Diffstat (limited to 'security')
-rw-r--r--security/opensc-signer/Makefile4
-rw-r--r--security/py-crypto/Makefile4
2 files changed, 6 insertions, 2 deletions
diff --git a/security/opensc-signer/Makefile b/security/opensc-signer/Makefile
index f73be289311..9313b1b8f2a 100644
--- a/security/opensc-signer/Makefile
+++ b/security/opensc-signer/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.7 2011/04/22 13:44:36 obache Exp $
+# $NetBSD: Makefile,v 1.8 2012/02/16 19:39:48 hans Exp $
PKGNAME= opensc-signer-${OPENSC_PKG_VERSION}
PKGREVISION= 1
@@ -16,6 +16,8 @@ CONFIGURE_ARGS+= --enable-nsplugin
CONFIGURE_ARGS+= --with-plugindir=${PREFIX}/lib/xulrunner/plugins
CONFIGURE_ARGS+= --with-pinentry=${PREFIX}/bin/pinentry
+LDFLAGS.SunOS+= -liconv
+
do-install:
cd ${WRKSRC}/src/signer && ${SETENV} ${MAKE_ENV} ${MAKE} \
prefix=${DESTDIR}${PREFIX} \
diff --git a/security/py-crypto/Makefile b/security/py-crypto/Makefile
index 0a37d3f2ed1..b5f97a0d983 100644
--- a/security/py-crypto/Makefile
+++ b/security/py-crypto/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.25 2012/02/12 14:37:52 gls Exp $
+# $NetBSD: Makefile,v 1.26 2012/02/16 19:41:16 hans Exp $
#
DISTNAME= pycrypto-2.5
@@ -29,6 +29,8 @@ PLIST_VARS+= py2x
PLIST.py2x= yes
.endif
+CFLAGS.SunOS+= -std=c99 -D_XOPEN_SOURCE=600
+
BUILDLINK_API_DEPENDS.gmp+= gmp>=5.0
.include "../../devel/gmp/buildlink3.mk"
.include "../../lang/python/distutils.mk"