summaryrefslogtreecommitdiff
path: root/sysutils
diff options
context:
space:
mode:
authorLars Koeller <lkoeller@FreeBSD.org>2004-01-18 16:29:11 +0000
committerLars Koeller <lkoeller@FreeBSD.org>2004-01-18 16:29:11 +0000
commitee3fcd6eccdd62e0208e27ca6bb69ea1dbd7b34b (patch)
treedf2d022660265d6c919eee8a4db20e4682a0b319 /sysutils
parentBump PORTREVISION to go along with www/mozilla getting a PORTREVISION (diff)
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>
Notes
Notes: svn path=/head/; revision=98486
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/apcupsd/Makefile3
-rw-r--r--sysutils/apcupsd/files/patch-configure-internal-libgd13
2 files changed, 15 insertions, 1 deletions
diff --git a/sysutils/apcupsd/Makefile b/sysutils/apcupsd/Makefile
index 954c47249576..369d07ef2113 100644
--- a/sysutils/apcupsd/Makefile
+++ b/sysutils/apcupsd/Makefile
@@ -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 \
diff --git a/sysutils/apcupsd/files/patch-configure-internal-libgd b/sysutils/apcupsd/files/patch-configure-internal-libgd
new file mode 100644
index 000000000000..a7e914528de4
--- /dev/null
+++ b/sysutils/apcupsd/files/patch-configure-internal-libgd
@@ -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