From owner-freebsd-ports Mon Jun 14 11:30: 3 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 BE3D11543C for ; Mon, 14 Jun 1999 11:30:01 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id LAA88579; Mon, 14 Jun 1999 11:30: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 936E714D54 for ; Mon, 14 Jun 1999 11:22:21 -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 UAA08671 for ; Mon, 14 Jun 1999 20:22:12 +0200 (MET DST) Received: (from n_hibma@localhost) by elpc36.jrc.it (8.9.3/8.8.7) id UAA76455; Mon, 14 Jun 1999 20:20:52 +0200 (CEST) (envelope-from n_hibma) Message-Id: <199906141820.UAA76455@elpc36.jrc.it> Date: Mon, 14 Jun 1999 20:20:52 +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/12210: [PATCH] mpg123 does not install into PREFIX but /usr/local Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 12210 >Category: ports >Synopsis: [PATCH] mpg123 does not install into PREFIX but /usr/local >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 11:30:01 PDT 1999 >Closed-Date: >Last-Modified: >Originator: Nick Hibma >Release: FreeBSD 4.0-CURRENT i386 >Organization: >Environment: ports as of 16:00 today >Description: The Makefile has /usr/local/ hardcoded in. Should be PREFIX >How-To-Repeat: cd /usr/ports/audio/mpg123 make PREFIX=/really/somewhere/else/but/you/won\'t/listen install >Fix: The patch below is a patch on a patch file :-), it comments out the PREFIX= in the Makefile. --- patch-aa.orig Wed Mar 24 16:42:46 1999 +++ patch-aa Mon Jun 14 22:23:13 1999 @@ -1,5 +1,14 @@ ---- Makefile.orig Wed Jan 27 01:05:18 1999 -+++ Makefile Mon Mar 22 22:42:04 1999 +--- Makefile.orig Tue Jan 26 15:35:18 1999 ++++ Makefile Mon Jun 14 22:21:57 1999 +@@ -4,7 +4,7 @@ + + # Where to install binary and manpage on "make install": + +-PREFIX=/usr/local ++#PREFIX=/usr/local + BINDIR=$(PREFIX)/bin + MANDIR=$(PREFIX)/man + SECTION=1 @@ -247,24 +247,27 @@ #CFLAGS='-DI386_ASSEM -O2 -DREAL_IS_FLOAT -DLINUX -Wall -g' #CFLAGS='-DI386_ASSEM -DREAL_IS_FLOAT -DLINUX -Wall -O2 -m486 -fomit-frame-pointer -funroll-all-loops -finline-functions -ffast-math -malign-loops=2 -malign-jumps=2 -malign-functions=2' >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message