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:
parent
2668d3d08d
commit
97ecb975c6
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=149185
@ -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;' \
|
||||
|
15
lang/kawa/files/patch-bin_kawapath.c
Normal file
15
lang/kawa/files/patch-bin_kawapath.c
Normal 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
|
Loading…
Reference in New Issue
Block a user