Date: Fri, 12 Nov 1999 16:47:46 -0600 (CST) From: Joe Greco <jgreco@ns.sol.net> To: FreeBSD-gnats-submit@freebsd.org, jgreco@solaria.sol.net Subject: ports/14854: port comms/conserver partially ignores ${PREFIX} Message-ID: <199911122247.QAA60136@aurora.sol.net>
next in thread | raw e-mail | index | archive | help
>Number: 14854 >Category: ports >Synopsis: port comms/conserver partially ignores ${PREFIX} >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri Nov 12 14:50:01 PST 1999 >Closed-Date: >Last-Modified: >Originator: Joe Greco >Release: all >Organization: sol.net Network Services - Solaria Public Access UNIX >Environment: see below >Description: In an environment where I do not wish conserver to place itself in /usr/local, conserver does so anyway. There are hard-coded refs to /usr/local throughout the blasted thing. >How-To-Repeat: build conserver with PREFIX=/cons >Fix: Patch to the FreeBSD patches (which perpetuate this brokenness) is enclosed. Regards, ... JG diff -c -r conserver.fcs/patches/patch-aa conserver/patches/patch-aa *** conserver.fcs/patches/patch-aa Sat Nov 22 09:26:23 1997 --- conserver/patches/patch-aa Fri Nov 12 16:29:55 1999 *************** *** 5,19 **** PROG= conserver -ETC= ${DESTDIR}/usr/local/etc -DOC= ${DESTDIR}/usr/local/man ! +ETC= ${DESTDIR}/usr/local/sbin ! +DOC= ${DESTDIR}/usr/local/man/man8 # if we have to PUCC ptyd daemon we can use it to get ptys, else use fallback.o @@ -25,5 +25,5 @@ INCLUDE= DEBUG=-O -CDEFS= -DSUN5 -DHAVE_PTYD=0 -DDO_VIRTUAL=1 ! +CDEFS= -DFREEBSD -DHAVE_PTYD=0 -DDO_VIRTUAL=1 -DPORT=782 CFLAGS= ${DEBUG} ${CDEFS} ${INCLUDE} @@ -42,5 +42,5 @@ --- 5,19 ---- PROG= conserver -ETC= ${DESTDIR}/usr/local/etc -DOC= ${DESTDIR}/usr/local/man ! +ETC= ${DESTDIR}${PREFIX}/sbin ! +DOC= ${DESTDIR}${PREFIX}/man/man8 # if we have to PUCC ptyd daemon we can use it to get ptys, else use fallback.o @@ -25,5 +25,5 @@ INCLUDE= DEBUG=-O -CDEFS= -DSUN5 -DHAVE_PTYD=0 -DDO_VIRTUAL=1 ! +CDEFS= -DFREEBSD -DHAVE_PTYD=0 -DDO_VIRTUAL=1 -DPORT=782 -DCONFIG=\"${PREFIX}/etc/conserver.cf\" CFLAGS= ${DEBUG} ${CDEFS} ${INCLUDE} @@ -42,5 +42,5 @@ diff -c -r conserver.fcs/patches/patch-ae conserver/patches/patch-ae *** conserver.fcs/patches/patch-ae Sat Apr 18 17:16:51 1998 --- conserver/patches/patch-ae Fri Nov 12 16:24:05 1999 *************** *** 6,13 **** PROG= console -ETC= ${DESTDIR}/usr/local/etc -DOC= ${DESTDIR}/usr/local/man ! +ETC= ${DESTDIR}/usr/local/bin ! +DOC= ${DESTDIR}/usr/local/man/man8 I=/usr/include S=/usr/include/sys --- 6,13 ---- PROG= console -ETC= ${DESTDIR}/usr/local/etc -DOC= ${DESTDIR}/usr/local/man ! +ETC= ${DESTDIR}${PREFIX}/bin ! +DOC= ${DESTDIR}${PREFIX}/man/man8 I=/usr/include S=/usr/include/sys diff -c -r conserver.fcs/patches/patch-ag conserver/patches/patch-ag *** conserver.fcs/patches/patch-ag Sat Nov 22 08:56:11 1997 --- conserver/patches/patch-ag Fri Nov 12 16:24:32 1999 *************** *** 8,15 **** -LIB= ${DESTDIR}/usr/local/lib -DOC= ${DESTDIR}/usr/man +PROG= conserver.cf.eg ! +LIB= ${DESTDIR}/usr/local/etc ! +DOC= ${DESTDIR}/usr/local/man/man5 SRCs= conserver.cf MAN= conserver.cf.5l --- 8,15 ---- -LIB= ${DESTDIR}/usr/local/lib -DOC= ${DESTDIR}/usr/man +PROG= conserver.cf.eg ! +LIB= ${DESTDIR}${PREFIX}/etc ! +DOC= ${DESTDIR}${PREFIX}/man/man5 SRCs= conserver.cf MAN= conserver.cf.5l diff -c -r conserver.fcs/patches/patch-ai conserver/patches/patch-ai *** conserver.fcs/patches/patch-ai Sat Apr 18 15:17:35 1998 --- conserver/patches/patch-ai Fri Nov 12 16:24:44 1999 *************** *** 5,11 **** DESTDIR= -BINDIR= ${DESTDIR}/usr/local/etc ! +BINDIR= ${DESTDIR}/usr/local/sbin INCLUDE= -DEBUG= -g --- 5,11 ---- DESTDIR= -BINDIR= ${DESTDIR}/usr/local/etc ! +BINDIR= ${DESTDIR}${PREFIX}/sbin INCLUDE= -DEBUG= -g >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199911122247.QAA60136>