diff options
author | tron <tron@pkgsrc.org> | 2006-03-13 15:05:43 +0000 |
---|---|---|
committer | tron <tron@pkgsrc.org> | 2006-03-13 15:05:43 +0000 |
commit | 1328302238e5a3bcf56ad56acbe3f284c6f10f66 (patch) | |
tree | 7f5ffa123c6456304ba00ab4b4f4569217ea4a19 /security/caff | |
parent | 2cbcccc896702ca70340d4c66b047136b1ef1e8a (diff) | |
download | pkgsrc-1328302238e5a3bcf56ad56acbe3f284c6f10f66.tar.gz |
Don't try to use "hostname -f" under anything but Linux because that
command line option isn't portable. Bump package revision because
of this fix.
Diffstat (limited to 'security/caff')
-rw-r--r-- | security/caff/Makefile | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/security/caff/Makefile b/security/caff/Makefile index 9f95be1e87b..46164d84199 100644 --- a/security/caff/Makefile +++ b/security/caff/Makefile @@ -1,8 +1,8 @@ -# $NetBSD: Makefile,v 1.2 2006/03/07 14:31:28 tonio Exp $ +# $NetBSD: Makefile,v 1.3 2006/03/13 15:05:43 tron Exp $ DISTNAME= signing-party_0.4.4.orig PKGNAME= caff-0.4.4 -PKGREVISION= 1 +PKGREVISION= 2 CATEGORIES= security MASTER_SITES= ${MASTER_SITE_DEBIAN:=pool/main/s/signing-party/} @@ -31,6 +31,16 @@ SUBST_STAGE.paths= pre-configure SUBST_FILES.paths= caff/caff keylookup/keylookup keylookup/keylookup.1 SUBST_SED.paths= -e 's,/usr/,${PREFIX}/,g' +.include "../../mk/bsd.prefs.mk" + +.if ${OPSYS} != "Linux" +SUBST_CLASSES+= hostname +SUBST_MESSAGE.hostname= Fixing unportable use of "hostname" command. +SUBST_STAGE.hostname= pre-configure +SUBST_FILES.hostname= caff/caff +SUBST_SED.hostname= -e 's/hostname -f/hostname/g' +.endif + do-install: ${INSTALL_SCRIPT} ${WRKSRC}/caff/caff ${PREFIX}/bin ${INSTALL_SCRIPT} ${WRKSRC}/caff/pgp-fixkey ${PREFIX}/bin |