freebsd-ports/games/xmris/scripts/pre-configure
Jean-Marc Zucconi 3b0787719c Fix the build on -current (patch-aa)
Compile all targets in the do-build phase, fix install with XFree86-4, honor
CFLAGS
2002-10-19 22:54:28 +00:00

10 lines
251 B
Bash

#!/bin/sh
mv ${WRKSRC}/Imakefile ${WRKSRC}/Imakefile.orig
echo "LOCAL=$PREFIX" >${WRKSRC}/Imakefile || exit 1;
# remove extra space after \ in continuation lines
sed -e 's/\\ $/\\/' <${WRKSRC}/Imakefile.orig >>${WRKSRC}/Imakefile || exit 1
exit 0