mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-06 06:30:19 +00:00
09b003ee49
PR: 248431 Submitted by: Johannes 5 <joemann@beefree.free.de> (maintainer)
14 lines
465 B
Bash
14 lines
465 B
Bash
--- asdl/config.sh.orig 2019-10-27 12:44:07 UTC
|
|
+++ asdl/config.sh
|
|
@@ -40,4 +40,10 @@ fi
|
|
SMLNJ_CMD=$INSTALLDIR/bin/sml
|
|
export SMLNJ_CMD
|
|
|
|
+# "convert" gmake -> bmake
|
|
+find . -name Makefile.in | \
|
|
+xargs sed -E -i "" \
|
|
+ -e 's/^include[[:space:]]+(.+)/.include "\1"/' \
|
|
+ -e 's@\$\(patsubst %,%/([^,]+),\$\(([^)]+)\)\)@${\2:C/(.+)\/\\1\\\/\1/}@' \
|
|
+ -e 's@\$\(patsubst %([^,]+),%([^,]+),\$\(([^)]+)\)\)@${\3:C/\1/\2/}@'
|
|
./configure $SIZE_OPT --prefix=$INSTALLDIR
|