diff options
author | wiedi <wiedi@pkgsrc.org> | 2014-04-21 21:58:57 +0000 |
---|---|---|
committer | wiedi <wiedi@pkgsrc.org> | 2014-04-21 21:58:57 +0000 |
commit | 8f5b94bc6b7155a1ea682eda53818d557617ec9c (patch) | |
tree | 89d100e9294367c92ae5bff2b42fbb551df97991 /security/spiped | |
parent | 7d5f106f2c095807ea6f39e18084dd9af903e2bf (diff) | |
download | pkgsrc-8f5b94bc6b7155a1ea682eda53818d557617ec9c.tar.gz |
Fix build on SunOS and include man pages
Diffstat (limited to 'security/spiped')
-rw-r--r-- | security/spiped/Makefile | 12 | ||||
-rw-r--r-- | security/spiped/PLIST | 4 |
2 files changed, 13 insertions, 3 deletions
diff --git a/security/spiped/Makefile b/security/spiped/Makefile index 5f8001cedc4..db0708e3430 100644 --- a/security/spiped/Makefile +++ b/security/spiped/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.1 2014/04/18 21:31:26 wiz Exp $ +# $NetBSD: Makefile,v 1.2 2014/04/21 21:58:57 wiedi Exp $ DISTNAME= spiped-1.3.1 CATEGORIES= net security @@ -11,8 +11,16 @@ COMMENT= Tool for creating symmetrically encrypted and authenticated pipes LICENSE= 2-clause-bsd MAKE_FLAGS+= BINDIR=${DESTDIR}${PREFIX}/bin +MAKE_FLAGS+= MAN1DIR=${DESTDIR}${PREFIX}/${PKGMANDIR}/man1 -INSTALLATION_DIRS= share/doc/spiped +CFLAGS.SunOS+= -D__EXTENSIONS__ + +.include "../../mk/bsd.prefs.mk" +.if ${OPSYS} == "SunOS" +MAKE_ENV+= LDADD_EXTRA="-lsocket -lnsl" +.endif + +INSTALLATION_DIRS= share/doc/spiped ${PKGMANDIR}/man1 post-install: ${INSTALL_DATA} ${WRKSRC}/README ${DESTDIR}${PREFIX}/share/doc/spiped diff --git a/security/spiped/PLIST b/security/spiped/PLIST index c0ca1adcf7e..6e7a16d7ede 100644 --- a/security/spiped/PLIST +++ b/security/spiped/PLIST @@ -1,4 +1,6 @@ -@comment $NetBSD: PLIST,v 1.1 2014/04/18 21:31:26 wiz Exp $ +@comment $NetBSD: PLIST,v 1.2 2014/04/21 21:58:57 wiedi Exp $ bin/spipe bin/spiped +man/man1/spipe.1 +man/man1/spiped.1 share/doc/spiped/README |