Date: Mon, 14 Jun 1999 21:35:29 +0200 (CEST) From: Nick Hibma <nick.hibma@jrc.it> To: FreeBSD-gnats-submit@freebsd.org Subject: ports/12214: [PATCH] biology/babel installs into /usr/local instead of PREFIX Message-ID: <199906141935.VAA77093@elpc36.jrc.it>
next in thread | raw e-mail | index | archive | help
>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 <bsd.port.mk> >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?199906141935.VAA77093>