Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 14 Jun 1999 20:20:52 +0200 (CEST)
From:      Nick Hibma <nick.hibma@jrc.it>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/12210: [PATCH] mpg123 does not install into PREFIX but /usr/local
Message-ID:  <199906141820.UAA76455@elpc36.jrc.it>

next in thread | raw e-mail | index | archive | help

>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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199906141820.UAA76455>