ports/174019: [PATCH] x11-toolkits/open-motif: fix build with non-default localbase

Dmitry Marakasov amdmi3 at amdmi3.ru
Fri Nov 30 17:30:01 UTC 2012


>Number:         174019
>Category:       ports
>Synopsis:       [PATCH] x11-toolkits/open-motif: fix build with non-default localbase
>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 Nov 30 17:30:00 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     Dmitry Marakasov
>Release:        FreeBSD 9.0-RELEASE-p3 amd64
>Organization:
>Environment:
System: FreeBSD hades.panopticon 9.0-RELEASE-p3 FreeBSD 9.0-RELEASE-p3 #0: Wed Jun 13 17:39:20 MSK 2012
>Description:
Since /usr/local is hardcoded in configure, open-motif won't build with non-default LOCALBASE, being unable to find libiconv. The attached patch fixes this.

Port maintainer (m.tsatsenko at gmail.com) is cc'd.

Generated with FreeBSD Port Tools 0.99_6 (mode: change, diff: ports)
>How-To-Repeat:
>Fix:

--- open-motif-2.3.4.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/x11-toolkits/open-motif/Makefile ./Makefile
--- /usr/ports/x11-toolkits/open-motif/Makefile	2012-11-17 10:03:36.000000000 +0400
+++ ./Makefile	2012-11-27 17:39:34.078933986 +0400
@@ -87,6 +87,7 @@
 	@${FIND} ${WRKSRC}/doc/man/man5 -name '*.5' -maxdepth 1 | \
 		${XARGS} ${REINPLACE_CMD} -e 's|special file|5| ; \
 		 s|file formats|5|'
+	@${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|' ${WRKSRC}/configure.ac
 
 pre-configure:
 	cd ${WRKSRC} && ./autogen.sh
--- open-motif-2.3.4.patch ends here ---

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


More information about the freebsd-ports-bugs mailing list