mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-05 22:43:24 +00:00
21 lines
533 B
Bash
21 lines
533 B
Bash
#!/bin/sh
|
|
|
|
# X must be running when the scram program creates the bitmaps
|
|
xwd -root >/dev/null 2>&1
|
|
if [ $? != 0 ]; then
|
|
echo "X needs to be started to build xmris"
|
|
exit 1
|
|
fi
|
|
|
|
mv ${WRKSRC}/Imakefile ${WRKSRC}/Imakefile.orig
|
|
|
|
echo "LOCAL=/usr/local" >${WRKSRC}/Imakefile || exit 1;
|
|
|
|
# remove extra space after \ in continuation lines
|
|
sed -e 's/\\ $/\\/' <${WRKSRC}/Imakefile.orig >>${WRKSRC}/Imakefile || exit 1
|
|
|
|
echo "CDEBUGFLAGS=-O2" >>${WRKSRC}/Imakefile || exit 1
|
|
echo "MANSUFFIX=6" >>${WRKSRC}/Imakefile || exit 1
|
|
|
|
exit 0
|