Make the X11 components of arla an option.
Submitted by david l goodrich in PR pkg/33400.
This commit is contained in:
parent
077de5dbe5
commit
d2520aa1b4
3 changed files with 21 additions and 6 deletions
|
@ -1,7 +1,7 @@
|
|||
# $NetBSD: Makefile,v 1.59 2006/08/24 13:25:41 wennmach Exp $
|
||||
# $NetBSD: Makefile,v 1.60 2006/08/24 17:59:04 wennmach Exp $
|
||||
|
||||
DISTNAME= arla-0.43
|
||||
#PKGREVISION= 1
|
||||
PKGREVISION= 1
|
||||
CATEGORIES= net security
|
||||
MASTER_SITES= ftp://ftp.stacken.kth.se/pub/arla/
|
||||
|
||||
|
@ -21,6 +21,7 @@ INFO_FILES= # PLIST
|
|||
USE_LIBTOOL= yes
|
||||
GNU_CONFIGURE= yes
|
||||
|
||||
.include "options.mk"
|
||||
.include "../../mk/bsd.prefs.mk"
|
||||
|
||||
.if !exists(/usr/src/sys/lib/libkern/libkern.h)
|
||||
|
@ -62,8 +63,6 @@ CONF_FILES+= ${EGDIR}/${f} ${PKG_SYSCONFDIR}/${f}
|
|||
RCD_SCRIPTS= arlad
|
||||
OWN_DIRS_PERMS= ${ARLA_CACHE} ${ROOT_USER} ${ROOT_GROUP} 0700
|
||||
|
||||
.include "../../mk/x11.buildlink3.mk"
|
||||
|
||||
post-extract:
|
||||
${CP} ${FILESDIR}/lkm.conf ${WRKDIR}/lkm.conf
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
@comment $NetBSD: PLIST,v 1.20 2006/04/06 03:20:54 jlam Exp $
|
||||
@comment $NetBSD: PLIST,v 1.21 2006/08/24 17:59:04 wennmach Exp $
|
||||
bin/afsfsperf
|
||||
bin/afstool
|
||||
bin/amon
|
||||
${X11_SUPPORT}bin/amon
|
||||
bin/arla-send-pr
|
||||
bin/bos
|
||||
bin/fs
|
||||
|
|
16
net/arla/options.mk
Normal file
16
net/arla/options.mk
Normal file
|
@ -0,0 +1,16 @@
|
|||
# $NetBSD: options.mk,v 1.1 2006/08/24 17:59:04 wennmach Exp $
|
||||
|
||||
PKG_OPTIONS_VAR= PKG_OPTIONS.arla
|
||||
PKG_SUPPORTED_OPTIONS= x11
|
||||
PKG_SUGGESTED_OPTIONS=
|
||||
|
||||
.include "../../mk/bsd.options.mk"
|
||||
|
||||
.if !empty(PKG_OPTIONS:Mx11)
|
||||
CONFIGURE_ARGS+= --with-x
|
||||
PLIST_SUBST+= X11_SUPPORT=
|
||||
.include "../../mk/x11.buildlink3.mk"
|
||||
.else
|
||||
CONFIGURE_ARGS+= --without-x
|
||||
PLIST_SUBST+= X11_SUPPORT='@comment '
|
||||
.endif
|
Loading…
Reference in a new issue