pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/security/botan-devel



Module Name:    pkgsrc
Committed By:   joerg
Date:           Wed Nov 23 13:01:54 UTC 2016

Modified Files:
        pkgsrc/security/botan-devel: Makefile

Log Message:
Restore explicit CPU selection based on MACHINE_ARCH, needing e.g. on
SmartOS.


To generate a diff of this commit:
cvs rdiff -u -r1.17 -r1.18 pkgsrc/security/botan-devel/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/security/botan-devel/Makefile
diff -u pkgsrc/security/botan-devel/Makefile:1.17 pkgsrc/security/botan-devel/Makefile:1.18
--- pkgsrc/security/botan-devel/Makefile:1.17   Fri Nov 11 19:46:05 2016
+++ pkgsrc/security/botan-devel/Makefile        Wed Nov 23 13:01:54 2016
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.17 2016/11/11 19:46:05 joerg Exp $
+# $NetBSD: Makefile,v 1.18 2016/11/23 13:01:54 joerg Exp $
 
 DISTNAME=      Botan-1.11.33
 PKGNAME=       ${DISTNAME:tl}
@@ -27,6 +27,18 @@ REPLACE_PYTHON+=     *.py src/scripts/*.py
 CONFIGURE_ARGS+=       --cc-bin=${CXX} --cc=clang
 .endif
 
+.if ${MACHINE_ARCH} == "x86_64"
+CONFIGURE_ARGS+=       --cpu=amd64
+.elif ${MACHINE_ARCH} == "i386"
+CONFIGURE_ARGS+=       --cpu=i386
+.elif ${MACHINE_ARCH} == "powerpc"
+CONFIGURE_ARGS+=       --cpu=ppc
+.elif ${MACHINE_ARCH} == "powerpc64"
+CONFIGURE_ARGS+=       --cpu=ppc64
+.elif ${MACHINE_ARCH} == "arm"
+CONFIGURE_ARGS+=       --cpu=arm
+.endif
+
 MAKE_FLAGS+=   LIB_OPT=${CXXFLAGS:Q}
 
 USE_TOOLS+=    gmake



Home | Main Index | Thread Index | Old Index