diff options
author | Volker Stolz <vs@FreeBSD.org> | 2005-11-23 14:24:17 +0000 |
---|---|---|
committer | Volker Stolz <vs@FreeBSD.org> | 2005-11-23 14:24:17 +0000 |
commit | 97ecb975c6c6707e352a51dd8e1e434de373c9e2 (patch) | |
tree | 8ff0de299ca16ff71fa17bd6923321487e79fee8 | |
parent | 2668d3d08d200bc7a36273116e9c986fb7a30ca3 (diff) | |
download | ports-97ecb975c6c6707e352a51dd8e1e434de373c9e2.tar.gz ports-97ecb975c6c6707e352a51dd8e1e434de373c9e2.zip |
Notes
-rw-r--r-- | lang/kawa/Makefile | 4 | ||||
-rw-r--r-- | lang/kawa/files/patch-bin_kawapath.c | 15 |
2 files changed, 15 insertions, 4 deletions
diff --git a/lang/kawa/Makefile b/lang/kawa/Makefile index 31bb33db2351..c25846be8d43 100644 --- a/lang/kawa/Makefile +++ b/lang/kawa/Makefile @@ -27,10 +27,6 @@ INFO= kawa kawa-tour .include <bsd.port.pre.mk> -.if ${OSVERSION} < 500000 -IGNORE= does not compile on FreeBSD 4.x -.endif - pre-patch: @${FIND} ${WRKSRC} -name "Makefile.in" | ${XARGS} ${REINPLACE_CMD} \ -e 's|sed |gsed |g;' \ diff --git a/lang/kawa/files/patch-bin_kawapath.c b/lang/kawa/files/patch-bin_kawapath.c new file mode 100644 index 000000000000..506240a8b06b --- /dev/null +++ b/lang/kawa/files/patch-bin_kawapath.c @@ -0,0 +1,15 @@ + +$FreeBSD$ + +--- bin/kawapath.c.orig ++++ bin/kawapath.c +@@ -15,8 +15,8 @@ + const char *path = getenv("KAWALIB"); + if (path == NULL) + { +- path = kawalib; + const char *rp = progname == NULL ? NULL : strrchr(progname, '/'); ++ path = kawalib; + if (rp != NULL) + { + /* If kawa is executed "in place" as $builddir/bin/kawa |