From owner-freebsd-ports Mon Jun 14 12:40:14 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 909E615443 for ; Mon, 14 Jun 1999 12:40:03 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id MAA94568; Mon, 14 Jun 1999 12:40:03 -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 6844F154D7 for ; Mon, 14 Jun 1999 12:36:53 -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 VAA13152 for ; Mon, 14 Jun 1999 21:36:49 +0200 (MET DST) Received: (from n_hibma@localhost) by elpc36.jrc.it (8.9.3/8.8.7) id VAA77093; Mon, 14 Jun 1999 21:35:29 +0200 (CEST) (envelope-from n_hibma) Message-Id: <199906141935.VAA77093@elpc36.jrc.it> Date: Mon, 14 Jun 1999 21:35:29 +0200 (CEST) From: Nick Hibma Reply-To: nick.hibma@jrc.it To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: ports/12214: [PATCH] biology/babel installs into /usr/local instead of PREFIX Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 12214 >Category: ports >Synopsis: [PATCH] biology/babel installs into /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 12:40:02 PDT 1999 >Closed-Date: >Last-Modified: >Originator: Nick Hibma >Release: FreeBSD 4.0-CURRENT i386 >Organization: >Environment: ports as of now, really. >Description: biology makes a big mess when you try to install the port into a directory other than /usr/local. >How-To-Repeat: cd /usr/ports/biology/babel make PREFIX=/somewhere/else install >Fix: 3 patches: - patches/patch-aa - pkg/MESSAGE - Makefile --- patch-aa.orig Mon Jun 14 23:18:51 1999 +++ patch-aa Mon Jun 14 23:24:37 1999 @@ -2,7 +2,7 @@ +++ Makefile Sat Dec 20 05:12:51 1997 @@ -1,6 +1,6 @@ -CFLAGS = -O -+DEST = /usr/local/share/babel ++DEST = $(PREFIX)/share/babel -LIBFLAGS = -O -DLIBRARY +LIBFLAGS = -DLIBRARY @@ -14,7 +14,7 @@ install: $(PROGRAM) - install -s $(PROGRAM) $(DEST) -+ install -s $(PROGRAM) /usr/local/bin/$(PROGRAM) ++ install -s $(PROGRAM) $(PREFIX)/bin/$(PROGRAM) + install -d -o bin -g bin $(DEST) + install -c -o bin -g bin README.1ST $(DEST) + install -c -o bin -g bin element.lis new.lis $(DEST) --- MESSAGE.orig Mon Jun 14 23:29:09 1999 +++ MESSAGE Mon Jun 14 23:29:16 1999 @@ -2,5 +2,5 @@ * Please set the env variable BABEL_DIR to * * /usr/local/share/babel before running babel. * * For example, put the next line in your .cshrc file: * -* setenv BABEL_DIR /usr/loacl/share/babel * +* setenv BABEL_DIR /usr/local/share/babel * ********************************************************* --- Makefile.orig Mon Jun 14 23:30:45 1999 +++ Makefile Mon Jun 14 23:29:51 1999 @@ -14,6 +14,6 @@ MAINTAINER= frankch@waru.life.nthu.edu.tw post-install: - @ ${CAT} ${PKGDIR}/MESSAGE + @ ${CAT} ${PKGDIR}/MESSAGE | sed -e 's#/usr/local#${PREFIX}#' .include >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message