forked from Lainports/freebsd-ports
o) Add option --with-nologin=/var/run
o) Modify configure to use internal libgd. This avoids compat problems and the overkill install of libgd and dependent ports for a apcupsd server machine. Submitted by: Neil Darlow <neil@darlow.co.uk>
This commit is contained in:
parent
4b4a3194d4
commit
ee3fcd6ecc
2 changed files with 15 additions and 1 deletions
|
|
@ -7,7 +7,7 @@
|
|||
|
||||
PORTNAME= apcupsd
|
||||
PORTVERSION= 3.10.9
|
||||
PORTREVISION= 1
|
||||
PORTREVISION= 2
|
||||
CATEGORIES= sysutils
|
||||
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
||||
MASTER_SITE_SUBDIR= ${PORTNAME}
|
||||
|
|
@ -24,6 +24,7 @@ PLIST_SUB= STARTUP_SCRIPT=${STARTUP_SCRIPT}
|
|||
|
||||
HAS_CONFIGURE= yes
|
||||
CONFIGURE_ARGS= --prefix=${PREFIX} --sbindir=${PREFIX}/sbin \
|
||||
--with-nologin=/var/run \
|
||||
--disable-install-distdir --enable-usb \
|
||||
--sysconfdir=${PREFIX}/etc/apcupsd \
|
||||
--with-serial-dev=/dev/usv \
|
||||
|
|
|
|||
13
sysutils/apcupsd/files/patch-configure-internal-libgd
Normal file
13
sysutils/apcupsd/files/patch-configure-internal-libgd
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
*** configure.org Sun Jan 18 17:20:53 2004
|
||||
--- configure Sun Jan 18 17:21:48 2004
|
||||
***************
|
||||
*** 8924,8929 ****
|
||||
--- 8924,8931 ----
|
||||
fi
|
||||
|
||||
fi
|
||||
+ # Always use internal libgd LK!!!
|
||||
+ SYS_GD_FOUND=no
|
||||
if test "${SYS_GD_FOUND}" = "no"
|
||||
then
|
||||
if test -d src/gd1.2
|
||||
Loading…
Add table
Reference in a new issue