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
|