ports/136152: [Patch]net-p2p/unworkable:fix the build error with custom LOCALBASE

Wen Heping wenheping at gmail.com
Mon Jun 29 02:30:04 UTC 2009


>Number:         136152
>Category:       ports
>Synopsis:       [Patch]net-p2p/unworkable:fix the build error with custom LOCALBASE
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Mon Jun 29 02:30:03 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     Wen Heping
>Release:        FreeBSD 8.0-Current
>Organization:
ChangAn Middle School
>Environment:
FreeBSD fb8.wenjing.com 8.0-CURRENT FreeBSD 8.0-CURRENT #4: Fri Apr 10 16:36:28 HKT 2009     root at fb8.wenjing.com:/usr/obj/usr/src/sys/wen1  i386
>Description:
fix the build error with custom LOCALBASE
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

--- Makefile.orig	2009-06-29 17:35:02.000000000 +0800
+++ Makefile	2009-06-29 17:59:13.000000000 +0800
@@ -23,6 +23,10 @@
 
 MAN1=	unworkable.1
 
+post-extract:
+	${REINPLACE_CMD} -e 's#/usr/local#${LOCALBASE}#g' \
+		${WRKSRC}/SConstruct
+
 do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/unworkable ${PREFIX}/bin
 	${INSTALL_MAN} ${WRKSRC}/unworkable.1 ${MANPREFIX}/man/man1/


>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list