summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhans <hans@pkgsrc.org>2012-02-16 19:39:48 +0000
committerhans <hans@pkgsrc.org>2012-02-16 19:39:48 +0000
commite4e34e6d1c9f7ce5c7803ef6eed4b81489e7f47a (patch)
treebff9103f43ad18a26bb599ad15b9814745265790
parent23807c8ffc24e4d197c9f4e054edfe9a6f9763a8 (diff)
downloadpkgsrc-e4e34e6d1c9f7ce5c7803ef6eed4b81489e7f47a.tar.gz
Fix build on SunOS.
-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"