summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authoragc <agc>2007-05-13 06:59:16 +0000
committeragc <agc>2007-05-13 06:59:16 +0000
commit962b0786a2f85b3bd1646d88c50bce7b4b3d32fa (patch)
treef942d0200d33229e53371857ddd0c99ec42f5c28 /net
parentd6d6d71bcb7665afc74539a7143e4996c38d494e (diff)
downloadpkgsrc-962b0786a2f85b3bd1646d88c50bce7b4b3d32fa.tar.gz
Attempt to do some (admittedly fairly naive) future-proofing for openafs.
Diffstat (limited to 'net')
-rw-r--r--net/openafs/Makefile9
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"