diff options
author | Jean Milanez Melo <jmelo@FreeBSD.org> | 2007-07-09 19:10:26 +0000 |
---|---|---|
committer | Jean Milanez Melo <jmelo@FreeBSD.org> | 2007-07-09 19:10:26 +0000 |
commit | 6c575e22a298e54dae35edec27cd939da01fbbdd (patch) | |
tree | 219b646b83ffb39862448df2cb2f817447b38a54 /games/linux-ut | |
parent | 09e91aec257a338a28d57d9ec4d64c5add176542 (diff) | |
download | ports-6c575e22a298e54dae35edec27cd939da01fbbdd.tar.gz ports-6c575e22a298e54dae35edec27cd939da01fbbdd.zip |
Notes
Diffstat (limited to 'games/linux-ut')
-rw-r--r-- | games/linux-ut/Makefile | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/games/linux-ut/Makefile b/games/linux-ut/Makefile index 618b962b676e..c7022b036547 100644 --- a/games/linux-ut/Makefile +++ b/games/linux-ut/Makefile @@ -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 @@ do-install: ${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} |