Fix linkage. Honour CFLAGS. Bump revision.
This commit is contained in:
parent
102a280ad7
commit
52fcee4dfa
3 changed files with 15 additions and 9 deletions
|
@ -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"
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue