ports/63530: Update to 2.9.16
Dirk Meyer
dirk.meyer at dinoex.sub.org
Tue Mar 2 08:10:08 UTC 2004
The following reply was made to PR ports/63530; it has been noted by GNATS.
From: dirk.meyer at dinoex.sub.org (Dirk Meyer)
To: freebsd-gnats-submit at FreeBSD.org, tremere at cainites.net
Cc:
Subject: Re: ports/63530: Update to 2.9.16
Date: Tue, 02 Mar 2004 08:56:30 +0100
This breaks use of local_startup in /etc/rc.conf:
sample:
local_startup="/usr/local/etc/rc.local"
-if ! PREFIX=$(expr $0 : "\(/.*\)/etc/rc\.d/${rc_file}\$"); then
- echo "${rc_file}: Cannot determine PREFIX." >&2
- echo "Please use the complete pathname." >&2
- exit 64
-fi
+PREFIX=%%PREFIX%%
Please change PREFIX hardcoded before installation..
post-install:
.if !exists(${STARTUP_SCRIPT})
- ${INSTALL_SCRIPT} ${FILESDIR}/pdns.sh.sample ${STARTUP_SCRIPT}
+ ${SED} -e "s=%%PREFIX%%=${PREFIX}=" \
+ ${FILESDIR}/pdns.sh.sample \
+ > ${WRKSRC}/pdns.sh.sample
+ ${INSTALL_SCRIPT} ${WRKSRC}/pdns.sh.sample ${STARTUP_SCRIPT}
.endif
kind regards Dirk
- Dirk Meyer, Im Grund 4, 34317 Habichtswald, Germany
- [dirk.meyer at dinoex.sub.org],[dirk.meyer at guug.de],[dinoex at FreeBSD.org]
More information about the freebsd-ports-bugs
mailing list