summaryrefslogtreecommitdiff
path: root/emulators/hfs/scripts/configure
diff options
context:
space:
mode:
Diffstat (limited to 'emulators/hfs/scripts/configure')
-rw-r--r--emulators/hfs/scripts/configure14
1 files changed, 14 insertions, 0 deletions
diff --git a/emulators/hfs/scripts/configure b/emulators/hfs/scripts/configure
new file mode 100644
index 000000000000..a91df6c6a53d
--- /dev/null
+++ b/emulators/hfs/scripts/configure
@@ -0,0 +1,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; \ No newline at end of file