summaryrefslogtreecommitdiffstats
path: root/emulators/hfs/scripts/configure
blob: d604234cbc42f8f57253c2412e96b235eb210609 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/sh

cd $WRKSRC || exit 1;

mv Makefile Makefile.orig || exit 1;

sed -e 's:/usr/.* ::' <Makefile.orig>Makefile

echo "DEBUG		= -O" >> Makefile
echo "INSTALLPATH	= $PREFIX"  >> Makefile
echo "CCPLUSPLUS	= c++ -c"  >> Makefile
echo "LD		= c++"  >> Makefile
echo "MANINSTALLDIR	= $PREFIX/man/man1" >> Makefile
exit 0;
OpenPOWER on IntegriCloud