mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-24 04:33:24 +00:00
- Fix mastersite.
- Remove /usr/local from ut-bin binary. PR: ports/113934 Submitted by: Sean Farley <sean-freebsd@farley.org> (maintainer)
This commit is contained in:
parent
09e91aec25
commit
6c575e22a2
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=195321
@ -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}
|
||||
|
Loading…
Reference in New Issue
Block a user