Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 29 Jun 2009 02:24:15 GMT
From:      Wen Heping <wenheping@gmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/136152: [Patch]net-p2p/unworkable:fix the build error with custom LOCALBASE
Message-ID:  <200906290224.n5T2OFLi005252@www.freebsd.org>
Resent-Message-ID: <200906290230.n5T2U3WK008371@freefall.freebsd.org>

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

>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@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:



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