Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 12 Aug 2009 02:42:53 +0400 (MSD)
From:      Dmitry Marakasov <amdmi3@amdmi3.ru>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        steve@energistic.com
Subject:   ports/137683: [PATCH] net/openh323: fix build with custom PREFIX/LOCALBASE
Message-ID:  <20090811224253.44367108842@hades.panopticon>
Resent-Message-ID: <200908112250.n7BMo6DC027727@freefall.freebsd.org>

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

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



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