Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 28 Oct 2005 10:56:56 -0700 (PDT)
From:      Joseph Scott <joseph@randomnetworks.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/88148: [MAINTAINER FIX] Make www/webresolve PREFIX clean
Message-ID:  <20051028175656.434322E03E@rhyll.com>
Resent-Message-ID: <200510281800.j9SI0S7D066622@freefall.freebsd.org>

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

>Number:         88148
>Category:       ports
>Synopsis:       [MAINTAINER FIX] Make www/webresolve PREFIX clean
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Oct 28 18:00:28 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Joseph Scott
>Release:        FreeBSD 5.4-STABLE i386
>Organization:
>Environment:
System: FreeBSD sm01.rhyll.com 5.4-STABLE FreeBSD 5.4-STABLE #4: Thu Oct 13 00:38:56 PDT 2005 joseph@sm01.rhyll.com:/usr/obj/usr/src/sys/SM01 i386


	
>Description:
	
[MAINTAINER FIX] Make www/webresolve PREFIX clean

Prompted by an (automated?) email from Kris about www/webresolve
not respecting PREFIX I've added a REINPLACE call to make
PREFIX work correctly.
>How-To-Repeat:
	
>Fix:

	

--- webresolve.diff begins here ---
diff -ruN webresolve-orig/Makefile webresolve/Makefile
--- webresolve-orig/Makefile	Fri Oct 28 10:34:53 2005
+++ webresolve/Makefile	Fri Oct 28 10:53:07 2005
@@ -16,7 +16,11 @@
 
 HAS_CONFIGURE=yes
 ALL_TARGET=	webresolve
+USE_REINPLACE=yes
 
 MAN1=	webresolve.1 splitwr.1
+
+pre-configure:
+	${REINPLACE_CMD} -e 's,/usr/local,${PREFIX},' ${WRKSRC}/configure
 
 .include <bsd.port.mk>
--- webresolve.diff ends here ---


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



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