mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-14 23:46:10 +00:00
c095186cb6
-still- doesn't build right, but it's a lot closer.
12 lines
266 B
Bash
12 lines
266 B
Bash
#!/bin/sh
|
|
#
|
|
|
|
find ${WRKSRC} -name Makefile -print | xargs rm
|
|
|
|
xpath=/usr/X11R6
|
|
if [ -n $xpath ]; then
|
|
xpath=`echo $xpath | sed 's;/bin/imake$;;'`
|
|
sed "s;/usr/X386;$xpath;" ${WRKSRC}/makefile >${WRKSRC}/makefile.foo
|
|
mv ${WRKSRC}/makefile.foo ${WRKSRC}/makefile
|
|
fi
|