freebsd-ports/lang/Gofer/files/patch-ad
Kevin Lo 0dd3c8ce26 - Upgrade to version 2.30b
- Add WWW: line

PR: 24875
Submitted by: Ports Fury
2001-02-08 12:47:23 +00:00

18 lines
499 B
Plaintext

--- ../scripts/goferc.orig Fri Jun 24 01:00:00 1994
+++ ../scripts/goferc Wed Jan 31 01:44:26 2001
@@ -29,11 +29,10 @@
;;
esac
-GOFER=/home/staff/ian/gofer/lib/standard.prelude
+GOFER=%%PREFIX%%/lib/Gofer/standard.prelude
export GOFER
-/usr/local/lib/Gofer/gofc $args
+%%PREFIX%%/lib/Gofer/gofc $args
echo '[Compiling with gcc]'
-gcc -o $prog -O $prog.c /usr/local/lib/Gofer/runtime.o -lm
+%%CC%% -o $prog %%CFLAGS%% $prog.c %%PREFIX%%/lib/Gofer/runtime.o -lm
strip $prog
rm $prog.c
-