1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-27 00:57:50 +00:00

Fix build on 4.x

Approved by: maintainer via barner@
This commit is contained in:
Volker Stolz 2005-11-23 14:24:17 +00:00
parent 2668d3d08d
commit 97ecb975c6
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=149185
2 changed files with 15 additions and 4 deletions

View File

@ -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;' \

View File

@ -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