From owner-freebsd-ports Mon Jun 14 2:40: 5 1999 Delivered-To: freebsd-ports@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id BE1CE14FB3 for ; Mon, 14 Jun 1999 02:40:01 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id CAA63068; Mon, 14 Jun 1999 02:40:01 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from mrelay.jrc.it (mrelay.jrc.it [139.191.1.65]) by hub.freebsd.org (Postfix) with ESMTP id 7A72F14D70 for ; Mon, 14 Jun 1999 02:35:26 -0700 (PDT) (envelope-from nick.hibma@jrc.it) Received: from elpc36.jrc.it (elpc36.jrc.it [139.191.71.36]) by mrelay.jrc.it (LMC5692) with ESMTP id LAA29592; Mon, 14 Jun 1999 11:35:23 +0200 (MET DST) Received: (from n_hibma@localhost) by elpc36.jrc.it (8.9.3/8.8.7) id LAA74198; Mon, 14 Jun 1999 11:34:01 +0200 (CEST) (envelope-from n_hibma) Message-Id: <199906140934.LAA74198@elpc36.jrc.it> Date: Mon, 14 Jun 1999 11:34:01 +0200 (CEST) From: nick.hibma@jrc.it Reply-To: nick.hibma@jrc.it To: FreeBSD-gnats-submit@freebsd.org, nick.hibma@jrc.it X-Send-Pr-Version: 3.2 Subject: ports/12198: [PATCH] www/gn references /usr/local/ instead of PREFIX Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 12198 >Category: ports >Synopsis: [PATCH] www/gn references /usr/local/ instead of PREFIX >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Jun 14 02:40:01 PDT 1999 >Closed-Date: >Last-Modified: >Originator: Nick Hibma >Release: FreeBSD 4.0-CURRENT i386 >Organization: >Environment: ports as of yesterday 16:00 (13/06/99) >Description: The port is not PREFIX independent at the moment. >How-To-Repeat: cd /usr/ports/www/gn make PREFIX=/this/is/another/dir/than/usr/local >Fix: --- /usr/ports/www/gn/Makefile.orig Sat Jun 5 14:59:00 1999 +++ /usr/ports/www/gn/Makefile Sat Jun 5 15:01:11 1999 @@ -19,7 +19,7 @@ WAISDIR= ${PORTSDIR}/net/wais/work/freeWAIS-0.5 INETD_CONF= /etc/inetd.conf -CONF= ' stream tcp nowait nobody /usr/local/libexec/gn gn' +CONF= ' stream tcp nowait nobody ${PREFIX}/libexec/gn gn' pre-build: @ln -fs ${WAISDIR}/include ${WRKSRC}/waisgn/ir @@ -45,7 +45,7 @@ fi; \ tar -cf - -C ${WRKSRC} gnroot libexec bin etc | tar xpf - && \ (cd gnroot; ${WRKSRC}/bin/mkcache -r); \ - awk '$$1 ~ /#*gopher/ && $$6 == "/usr/local/libexec/gn" { exit 1 }' \ + awk '$$1 ~ /#*gopher/ && $$6 == "${PREFIX}/libexec/gn" { exit 1 }' \ ${INETD_CONF} || { \ echo '#'gopher${CONF} >>${INETD_CONF} } >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message