ports/160550: [PATCH] x11-toolkits/open-motif: respect ${LOCALBASE}

Dmitry Marakasov amdmi3 at amdmi3.ru
Thu Sep 8 07:30:06 UTC 2011


>Number:         160550
>Category:       ports
>Synopsis:       [PATCH] x11-toolkits/open-motif: respect ${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:   Thu Sep 08 07:30:05 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator:     Dmitry Marakasov
>Release:        FreeBSD 8.2-RELEASE i386
>Organization:
>Environment:
System: FreeBSD hades.panopticon 8.2-RELEASE FreeBSD 8.2-RELEASE #0: Tue Mar  8 09:48:52 MSK
>Description:
open-motif doesn't build with nondefault LOCALBASE due to /usr/local hardcoded in configure. The patch fixes it.

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

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

--- open-motif-2.3.3.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/amdmi3/projects/freebsd/FreeBSD.cvs/ports/x11-toolkits/open-motif/Makefile,v
retrieving revision 1.53
diff -u -u -r1.53 Makefile
--- Makefile	21 Jun 2011 14:50:01 -0000	1.53
+++ Makefile	8 Sep 2011 05:38:14 -0000
@@ -86,6 +86,8 @@
 	@${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
 
 post-install:
 .if defined(WITH_OPENMOTIF_DEMOS)
--- open-motif-2.3.3.patch ends here ---

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



More information about the freebsd-ports-bugs mailing list