Date: Tue, 2 Mar 2004 00:10:08 -0800 (PST) From: dirk.meyer@dinoex.sub.org (Dirk Meyer) To: freebsd-ports-bugs@FreeBSD.org Subject: Re: ports/63530: Update to 2.9.16 Message-ID: <200403020810.i228A8QF053206@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/63530; it has been noted by GNATS. From: dirk.meyer@dinoex.sub.org (Dirk Meyer) To: freebsd-gnats-submit@FreeBSD.org, tremere@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@dinoex.sub.org],[dirk.meyer@guug.de],[dinoex@FreeBSD.org]
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200403020810.i228A8QF053206>