aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils
diff options
context:
space:
mode:
authorarved <arved@FreeBSD.org>2010-07-03 03:43:38 +0800
committerarved <arved@FreeBSD.org>2010-07-03 03:43:38 +0800
commitcc106def2c99a0efac4d0e26ae7af766f7242a58 (patch)
treec03093e77391f5cd24dcb6cd77221d686655a7fd /sysutils
parentf5ae9ad4747427962fcca6512b670da7fa5fd050 (diff)
downloadfreebsd-ports-graphics-cc106def2c99a0efac4d0e26ae7af766f7242a58.tar.gz
freebsd-ports-graphics-cc106def2c99a0efac4d0e26ae7af766f7242a58.tar.zst
freebsd-ports-graphics-cc106def2c99a0efac4d0e26ae7af766f7242a58.zip
Unbreak
Feature safe: yes
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/gnomefind/Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/sysutils/gnomefind/Makefile b/sysutils/gnomefind/Makefile
index 3da62b9498c..25db08c0e8a 100644
--- a/sysutils/gnomefind/Makefile
+++ b/sysutils/gnomefind/Makefile
@@ -24,12 +24,12 @@ MAN1= gnome-find.1
.include <bsd.port.pre.mk>
-.if ${OSVERSION} >= 800023
-BROKEN= does not compile
-.endif
-
post-patch:
@${GREP} -lR "<regex\.h>" ${WRKSRC} | ${XARGS} ${REINPLACE_CMD} -e \
's|<regex\.h>|<gnuregex.h>|g'
+.if ${OSVERSION} >= 800023
+ ${REINPLACE_CMD} -e "s,^int readlink,//int readlink," \
+ ${WRKSRC}/src/listfile.c
+.endif
.include <bsd.port.post.mk>