summaryrefslogtreecommitdiff
path: root/net/openafs/Makefile
diff options
context:
space:
mode:
authoradam <adam@pkgsrc.org>2005-08-11 08:48:04 +0000
committeradam <adam@pkgsrc.org>2005-08-11 08:48:04 +0000
commitd380d210b214b212665fb7928401a37199b08809 (patch)
tree4569821bbe429c2428f0976fe29f9374f0a7f71a /net/openafs/Makefile
parent8a822a6abd3972800c8b6f74bbae6338e2eb1059 (diff)
downloadpkgsrc-d380d210b214b212665fb7928401a37199b08809.tar.gz
PLIST corrected, disable debug, enable pkgsrc optimisation
Diffstat (limited to 'net/openafs/Makefile')
-rw-r--r--net/openafs/Makefile32
1 files changed, 18 insertions, 14 deletions
diff --git a/net/openafs/Makefile b/net/openafs/Makefile
index 9ec38c13a61..e61d60839d9 100644
--- a/net/openafs/Makefile
+++ b/net/openafs/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.12 2005/08/10 19:14:16 gendalia Exp $
+# $NetBSD: Makefile,v 1.13 2005/08/11 08:48:04 adam Exp $
DISTNAME= openafs-1.3.87-src
PKGNAME= ${DISTNAME:C/-src//}
@@ -14,32 +14,35 @@ CONFLICTS+= lwp-[0-9]*
CONFLICTS+= rx-[0-9]*
CONFLICTS+= arla-[0-9]*
-GNU_CONFIGURE= yes
-CONFIGURE_ARGS= --enable-largefile-fileserver --enable-fast-restart
-CONFIGURE_ARGS+= --enable-bitmap-later --disable-kernel-module
-CONFIGURE_ARGS+= --enable-debug --enable-bos-new-config
-CONFIGURE_ARGS+= --enable-namei-fileserver
-CONFIGURE_ARGS+= --localstatedir=${VARBASE:Q}
-CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR}
+GNU_CONFIGURE= yes
+CONFIGURE_ARGS+= --enable-bitmap-later
+CONFIGURE_ARGS+= --enable-bos-new-config
+CONFIGURE_ARGS+= --enable-fast-restart
+CONFIGURE_ARGS+= --enable-largefile-fileserver
+CONFIGURE_ARGS+= --disable-kernel-module
+CONFIGURE_ARGS+= --enable-namei-fileserver
+CONFIGURE_ARGS+= --localstatedir=${VARBASE:Q}
+CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR}
USE_GNU_CONFIGURE_HOST= no
WRKSRC= ${WRKDIR}/${PKGNAME_NOREV}
-PKG_SUPPORTED_OPTIONS = pam
-PKG_OPTIONS_VAR = PKG_OPTIONS.openafs
-RCD_SCRIPTS+= bosserver
+PKG_SUPPORTED_OPTIONS= pam
+PKG_OPTIONS_VAR= PKG_OPTIONS.openafs
+RCD_SCRIPTS+= bosserver
.include "../../mk/bsd.options.mk"
USE_PKGINSTALL= yes
.if !empty(PKG_OPTIONS:Mpam)
-CONFIGURE_ARGS+= --enable-pam
+CONFIGURE_ARGS+= --enable-pam
.include "../../mk/pam.buildlink3.mk"
PLIST_SRC+= ${.CURDIR}/PLIST.pam
.else
-CONFIGURE_ARGS+= --disable-pam
+CONFIGURE_ARGS+= --disable-pam
.endif
+
PLIST_SRC+= ${.CURDIR}/PLIST
OWN_DIRS+= ${PKG_SYSCONFDIR}/openafs
OWN_DIRS_PERMS+= ${PKG_SYSCONFDIR}/openafs/server ${ROOT_USER} ${ROOT_GROUP} 775
@@ -47,5 +50,6 @@ OWN_DIRS_PERMS+= ${VARBASE}/openafs ${ROOT_USER} ${ROOT_GROUP} 770
OWN_DIRS+= ${VARBASE}/openafs/logs
OWN_DIRS_PERMS+= ${VARBASE}/openafs/db ${ROOT_USER} ${ROOT_GROUP} 700
-FILES_SUBST+= HOSTNAME_CMD=${HOSTNAME_CMD:Q}
+FILES_SUBST+= HOSTNAME_CMD=${HOSTNAME_CMD:Q}
+
.include "../../mk/bsd.pkg.mk"