diff options
author | agc <agc@pkgsrc.org> | 2007-05-13 06:59:16 +0000 |
---|---|---|
committer | agc <agc@pkgsrc.org> | 2007-05-13 06:59:16 +0000 |
commit | a86a70c79417de7b25a5351d8d9691631ec71052 (patch) | |
tree | f942d0200d33229e53371857ddd0c99ec42f5c28 /net/openafs | |
parent | ea9b31f7cb9d726330f067a1409a0221984918d3 (diff) | |
download | pkgsrc-a86a70c79417de7b25a5351d8d9691631ec71052.tar.gz |
Attempt to do some (admittedly fairly naive) future-proofing for openafs.
Diffstat (limited to 'net/openafs')
-rw-r--r-- | net/openafs/Makefile | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/net/openafs/Makefile b/net/openafs/Makefile index 544fb00cd8d..930bc97ec3f 100644 --- a/net/openafs/Makefile +++ b/net/openafs/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.22 2007/03/21 19:49:24 gendalia Exp $ +# $NetBSD: Makefile,v 1.23 2007/05/13 06:59:16 agc Exp $ DISTNAME= openafs-1.4.4-src PKGREVISION= 1 @@ -54,4 +54,11 @@ OWN_DIRS_PERMS+= ${VARBASE}/openafs/db ${ROOT_USER} ${ROOT_GROUP} 700 FILES_SUBST+= HOSTNAME_CMD=${HOSTNAME_CMD:Q} +# attempt to future-proof configuration +pre-build: + cd ${WRKSRC}/src/config && for i in 40 50 60 70 80 90; do \ + ${SED} -e 's|nbsd20|nbsd'$$i'|g' param.i386_nbsd20.h > param.i386_nbsd$$i.h; \ + ${CP} param.nbsd30.h param.nbsd$$i.h; \ + done + .include "../../mk/bsd.pkg.mk" |