summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjoerg <joerg>2010-02-19 15:12:04 +0000
committerjoerg <joerg>2010-02-19 15:12:04 +0000
commiteae4ed9dce2350e67f634c6ffc0b9dbd5b2296ab (patch)
treea5d7c2952d5013e59038b52ff2ed69eec6f615cb
parenta7cfbeaf03940b6f311544babcb785a7fcb02665 (diff)
downloadpkgsrc-eae4ed9dce2350e67f634c6ffc0b9dbd5b2296ab.tar.gz
Fix linkage. Honour CFLAGS. Bump revision.
-rw-r--r--security/ssss/Makefile5
-rw-r--r--security/ssss/distinfo4
-rw-r--r--security/ssss/patches/patch-aa15
3 files changed, 15 insertions, 9 deletions
diff --git a/security/ssss/Makefile b/security/ssss/Makefile
index d55b5a7481c..5a2c27c2536 100644
--- a/security/ssss/Makefile
+++ b/security/ssss/Makefile
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.1.1.1 2009/08/09 05:52:36 agc Exp $
+# $NetBSD: Makefile,v 1.2 2010/02/19 15:12:04 joerg Exp $
DISTNAME= ssss-0.5
+PKGREVISION= 1
CATEGORIES= security
MASTER_SITES= http://point-at-infinity.org/ssss/
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} ssss.1
@@ -15,7 +16,7 @@ INSTALLATION_DIRS= bin ${PKGMANDIR}/man1
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/ssss-split ${DESTDIR}${PREFIX}/bin/ssss-split
- ${INSTALL_PROGRAM} ${WRKSRC}/ssss-combine ${DESTDIR}${PREFIX}/bin/ssss-combine
+ ${LN} -s ssss-split ${DESTDIR}${PREFIX}/bin/ssss-combine
${INSTALL_MAN} ${DISTDIR}/ssss.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/ssss.1
.include "../../devel/gmp/buildlink3.mk"
diff --git a/security/ssss/distinfo b/security/ssss/distinfo
index 83b614236a9..26b6126c753 100644
--- a/security/ssss/distinfo
+++ b/security/ssss/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.1.1.1 2009/08/09 05:52:36 agc Exp $
+$NetBSD: distinfo,v 1.2 2010/02/19 15:12:04 joerg Exp $
SHA1 (ssss-0.5.tar.gz) = 3f8f5046c2c5c3a2cf1a93f0a9446681852b190e
RMD160 (ssss-0.5.tar.gz) = 63bd228393afee454d9f72abab411cc162e03c65
@@ -6,4 +6,4 @@ Size (ssss-0.5.tar.gz) = 17435 bytes
SHA1 (ssss.1) = c2e2090edbe288406af7e84b984fba262fbdcf25
RMD160 (ssss.1) = 07003daf67e25b95c3e4b74c6477d128f80b039a
Size (ssss.1) = 3218 bytes
-SHA1 (patch-aa) = fdb675cd01e43fd52c62bf354d073ca8f57eb5d7
+SHA1 (patch-aa) = cc64c9ad1a972fad787a1fa8cdcdb1b3851a7119
diff --git a/security/ssss/patches/patch-aa b/security/ssss/patches/patch-aa
index 2496ffb6b64..65ecd8eaa16 100644
--- a/security/ssss/patches/patch-aa
+++ b/security/ssss/patches/patch-aa
@@ -1,10 +1,15 @@
-$NetBSD: patch-aa,v 1.1.1.1 2009/08/09 05:52:36 agc Exp $
+$NetBSD: patch-aa,v 1.2 2010/02/19 15:12:04 joerg Exp $
---- Makefile 2009/07/01 17:31:02 1.1
-+++ Makefile 2009/07/01 17:31:35
-@@ -1,4 +1,4 @@
+--- Makefile.orig 2006-01-15 11:10:01.000000000 +0000
++++ Makefile
+@@ -1,8 +1,7 @@
-all: ssss-split ssss-combine ssss.1 ssss.1.html
+all: ssss-split ssss-combine
ssss-split: ssss.c
- $(CC) -W -Wall -O2 -lgmp -o ssss-split ssss.c
+- $(CC) -W -Wall -O2 -lgmp -o ssss-split ssss.c
+- strip ssss-split
++ $(CC) -W -Wall ${CFLAGS} -Wl,-rpath,${PREFIX}/lib -o ssss-split ssss.c -lgmp
+
+ ssss-combine: ssss-split
+ ln -f ssss-split ssss-combine