pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/security/crypto++ Build and install shared library. Co...
details: https://anonhg.NetBSD.org/pkgsrc/rev/d912a3770c32
branches: trunk
changeset: 649001:d912a3770c32
user: rodent <rodent%pkgsrc.org@localhost>
date: Fri Mar 27 14:14:26 2015 +0000
description:
Build and install shared library. Compile with -fPIC. Bump PKGREVISION.
diffstat:
security/crypto++/Makefile | 8 +++++---
security/crypto++/PLIST | 3 ++-
security/crypto++/buildlink3.mk | 3 +--
3 files changed, 8 insertions(+), 6 deletions(-)
diffs (66 lines):
diff -r 77efbf25ecaa -r d912a3770c32 security/crypto++/Makefile
--- a/security/crypto++/Makefile Fri Mar 27 12:47:00 2015 +0000
+++ b/security/crypto++/Makefile Fri Mar 27 14:14:26 2015 +0000
@@ -1,9 +1,9 @@
-# $NetBSD: Makefile,v 1.19 2014/10/09 14:06:51 wiz Exp $
+# $NetBSD: Makefile,v 1.20 2015/03/27 14:14:26 rodent Exp $
#
DISTNAME= cryptopp562
PKGNAME= cryptopp-5.6.2
-PKGREVISION= 2
+PKGREVISION= 3
CATEGORIES= security
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=cryptopp/}
EXTRACT_SUFX= .zip
@@ -17,7 +17,8 @@
MAKE_FILE= GNUmakefile
WRKSRC= ${WRKDIR}
USE_LANGUAGES= c++
-CPPFLAGS+= -DCRYPTOPP_DISABLE_ASM
+CPPFLAGS+= -DCRYPTOPP_DISABLE_ASM -fPIC
+BUILD_TARGET+= all dynamic
BUILDLINK_TRANSFORM+= rm:-pipe rm:-msse2
AUTO_MKDIRS= yes
@@ -25,6 +26,7 @@
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/cryptest.exe ${DESTDIR}${PREFIX}/bin/cryptest
${INSTALL_DATA} ${WRKSRC}/libcryptopp.a ${DESTDIR}${PREFIX}/lib
+ ${INSTALL_LIB} ${WRKSRC}/libcryptopp.so ${DESTDIR}${PREFIX}/lib
${INSTALL_DATA} ${WRKSRC}/Readme.txt ${DESTDIR}${PREFIX}/share/doc/cryptopp/README
${INSTALL_DATA} ${WRKSRC}/License.txt ${DESTDIR}${PREFIX}/share/doc/cryptopp/License
cd ${WRKSRC} && ${INSTALL_DATA} *.h ${DESTDIR}${PREFIX}/include/cryptopp
diff -r 77efbf25ecaa -r d912a3770c32 security/crypto++/PLIST
--- a/security/crypto++/PLIST Fri Mar 27 12:47:00 2015 +0000
+++ b/security/crypto++/PLIST Fri Mar 27 14:14:26 2015 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.5 2013/06/12 12:00:08 ryoon Exp $
+@comment $NetBSD: PLIST,v 1.6 2015/03/27 14:14:26 rodent Exp $
bin/cryptest
include/cryptopp/3way.h
include/cryptopp/adler32.h
@@ -136,5 +136,6 @@
include/cryptopp/zinflate.h
include/cryptopp/zlib.h
lib/libcryptopp.a
+lib/libcryptopp.so
share/doc/cryptopp/License
share/doc/cryptopp/README
diff -r 77efbf25ecaa -r d912a3770c32 security/crypto++/buildlink3.mk
--- a/security/crypto++/buildlink3.mk Fri Mar 27 12:47:00 2015 +0000
+++ b/security/crypto++/buildlink3.mk Fri Mar 27 14:14:26 2015 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.11 2013/06/12 12:00:08 ryoon Exp $
+# $NetBSD: buildlink3.mk,v 1.12 2015/03/27 14:14:26 rodent Exp $
BUILDLINK_TREE+= cryptopp
@@ -6,7 +6,6 @@
CRYPTOPP_BUILDLINK3_MK:=
BUILDLINK_API_DEPENDS.cryptopp+= cryptopp>=5.6.2
-BUILDLINK_DEPMETHOD.cryptopp?= build
BUILDLINK_ABI_DEPENDS.cryptopp+= cryptopp>=5.6.2
BUILDLINK_PKGSRCDIR.cryptopp?= ../../security/crypto++
.endif # CRYPTOPP_BUILDLINK3_MK
Home |
Main Index |
Thread Index |
Old Index