ports/113934: [MAINTAINER] games/linux-ut: Xorg and MASTER_SITES fixes

Sean Farley sean-freebsd at farley.org
Fri Jun 22 03:50:01 UTC 2007


>Number:         113934
>Category:       ports
>Synopsis:       [MAINTAINER] games/linux-ut: Xorg and MASTER_SITES fixes
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Fri Jun 22 03:50:01 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator:     Sean Farley
>Release:        FreeBSD 6.2-STABLE i386
>Organization:
>Environment:
System: FreeBSD thor.farley.org 6.2-STABLE FreeBSD 6.2-STABLE #0: Fri Jun  1 14:10:08 CDT
>Description:
Remove /usr/local from ut-bin binary since it causes /usr/local (FreeBSD
native) to be searched for X libraries and libGL.so.1 before the
/compat/linux tree.

Fix the master site for v436 files.

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

--- linux-ut-451.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/games/linux-ut.orig/Makefile /usr/ports/games/linux-ut/Makefile
--- /usr/ports/games/linux-ut.orig/Makefile	Thu Oct  5 19:03:05 2006
+++ /usr/ports/games/linux-ut/Makefile	Thu Jun 21 22:04:53 2007
@@ -8,7 +8,7 @@
 PORTNAME=	linux-ut
 PORTVERSION=	451
 CATEGORIES=	games linux
-MASTER_SITES=	http://liflg.0wnitsch.de/files/native/:p436 \
+MASTER_SITES=	http://liflg.0wnitsch.de/files/final/:p436 \
 		http://www.utpg.org/patches/:p451
 DISTFILES=	${PATCH436FILES} \
 		${PATCH451FILES}
@@ -112,6 +112,13 @@
 		${MV} -f galaxy.int Galaxy.int &&\
 		${MV} -f editor.int Editor.int &&\
 		${MV} -f windrv.int WinDrv.int
+	@${ECHO_CMD} "Removing /usr/local from ut-bin's library search path"
+	@UTBIN=${DATADIR}/System/ut-bin &&\
+		FILESIZE=`/usr/bin/stat -f "%z" $${UTBIN}` &&\
+		${MV} $${UTBIN} $${UTBIN}.orig &&\
+		${SED} -Ee 's|:/usr/local|:/USR-LOCAL|' $${UTBIN}.orig |\
+		${HEAD} -c $${FILESIZE} > $${UTBIN} &&\
+		${RM} $${UTBIN}.orig
 	@${ECHO_CMD} "Setting permissions"
 	@${FIND} ${DATADIR} -print0 |\
 		${XARGS} -0 ${CHOWN} ${SHAREOWN}:${SHAREGRP}
--- linux-ut-451.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list