Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 5 Jun 1999 15:19:33 +0200 (CEST)
From:      Nick Hibma <nick.hibma@jrc.it>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/12032: [PATCH] de-/usr/local-ise the port net/pmf
Message-ID:  <199906051319.PAA38500@elpc36.jrc.it>

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

>Number:         12032
>Category:       ports
>Synopsis:       [PATCH] net/pmf/Makefile 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:   Sat Jun  5 06:30:02 PDT 1999
>Closed-Date:
>Last-Modified:
>Originator:     Nick Hibma
>Release:        FreeBSD 4.0-CURRENT i386
>Organization:
>Environment:

current ports tree (as of yesterday afternoon)

>Description:

Makefile uses /usr/local instead of the indirection through ${PREFIX}

>How-To-Repeat:

>Fix:

--- /usr/ports/net/pmf/Makefile.orig    Sat Jun  5 15:14:17 1999
+++ /usr/ports/net/pmf/Makefile Sat Jun  5 15:15:20 1999
@@ -16,12 +16,12 @@
 BROKEN_ELF=    cc: c_packages/libc_packs.a: No such file or directory
 
 pre-install:
-       @${MKDIR} /usr/local/lib/pmf
+       @${MKDIR} ${PREFIX}/lib/pmf
        @find ${WRKSRC}/../system_dir -name '*.orig' -exec rm {} \;
        @-mv ${WRKSRC}/../doc/pmf.doc ${WRKSRC}/../system_dir
        @tar -C ${WRKSRC}/../system_dir -cf - . \
-               | tar -C /usr/local/lib/pmf -xf -
-       @chown -R bin.bin /usr/local/lib/pmf
-       @chmod -R a-w /usr/local/lib/pmf
+               | tar -C ${PREFIX}/lib/pmf -xf -
+       @chown -R bin.bin ${PREFIX}/lib/pmf
+       @chmod -R a-w ${PREFIX}/lib/pmf
 
 .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?199906051319.PAA38500>