Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 30 Nov 2012 21:22:11 +0400 (MSK)
From:      Dmitry Marakasov <amdmi3@amdmi3.ru>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        m.tsatsenko@gmail.com
Subject:   ports/174019: [PATCH] x11-toolkits/open-motif: fix build with non-default localbase
Message-ID:  <20121130172211.5C3192D4@hades.panopticon>
Resent-Message-ID: <201211301730.qAUHU1Od003949@freefall.freebsd.org>

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

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



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