diff options
author | jperkin <jperkin@pkgsrc.org> | 2014-09-08 09:12:50 +0000 |
---|---|---|
committer | jperkin <jperkin@pkgsrc.org> | 2014-09-08 09:12:50 +0000 |
commit | 0bda463d6e1d03051b5b5114582b3c1c5421d6f4 (patch) | |
tree | cdfa23169d02d45eeac9c4a0e363218b5be18c0d | |
parent | 8ace2dcfb2bd73e5940994886365446ed174d684 (diff) | |
download | pkgsrc-0bda463d6e1d03051b5b5114582b3c1c5421d6f4.tar.gz |
Explicitly pass --cpu=amd64 for MACHINE_ARCH=x86_64, fixes build on SunOS.
-rw-r--r-- | security/botan/Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/security/botan/Makefile b/security/botan/Makefile index 52e99007e7b..912773154c3 100644 --- a/security/botan/Makefile +++ b/security/botan/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.32 2014/05/09 07:37:17 wiz Exp $ +# $NetBSD: Makefile,v 1.33 2014/09/08 09:12:50 jperkin Exp $ DISTNAME= Botan-1.8.14 PKGNAME= ${DISTNAME:tl} @@ -28,6 +28,7 @@ MAKE_FLAGS+= LIB_OPT=${CXXFLAGS:Q} PLIST_VARS+= i386 x86 x86_64 ppc arm .if ${MACHINE_ARCH} == "x86_64" +CONFIGURE_ARGS+= --cpu=amd64 PLIST.x86_64= yes PLIST.x86= yes .elif ${MACHINE_ARCH} == "i386" |