ports/137683: [PATCH] net/openh323: fix build with custom PREFIX/LOCALBASE

Dmitry Marakasov amdmi3 at amdmi3.ru
Tue Aug 11 22:50:07 UTC 2009


>Number:         137683
>Category:       ports
>Synopsis:       [PATCH] net/openh323: fix build with custom PREFIX/LOCALBASE
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Aug 11 22:50:05 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     Dmitry Marakasov
>Release:        FreeBSD 8.0-BETA2 i386
>Organization:
>Environment:
System: FreeBSD hades.panopticon 8.0-BETA2 FreeBSD 8.0-BETA2 #0: Fri Jul 31 16:00:15 MSD 2009
>Description:
Fix build with custom PREFIX/LOCALBASE

Port maintainer (steve at energistic.com) is cc'd.

Generated with FreeBSD Port Tools 0.77
>How-To-Repeat:
>Fix:

--- openh323-1.19.0.1_1.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/amdmi3/projects/freebsd/FreeBSD.cvs/ports/net/openh323/Makefile,v
retrieving revision 1.83
diff -u -u -r1.83 Makefile
--- Makefile	5 Jan 2009 19:04:27 -0000	1.83
+++ Makefile	11 Aug 2009 22:41:49 -0000
@@ -49,4 +49,7 @@
 CFLAGS+=	-fPIC
 .endif
 
+post-patch:
+	@${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|' ${WRKSRC}/configure.ac
+
 .include <bsd.port.post.mk>
--- openh323-1.19.0.1_1.patch ends here ---

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



More information about the freebsd-ports-bugs mailing list