aboutsummaryrefslogtreecommitdiff
path: root/editors/xcoral
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2009-01-05 19:44:02 +0000
committerPav Lucistnik <pav@FreeBSD.org>2009-01-05 19:44:02 +0000
commitd095d4a96566a3ab095ab2e30430ce93a154f1a7 (patch)
treeca5cd97e4ad40da4b6e4a6c197453610fd6c69b1 /editors/xcoral
parentc0a7a1f97264b914fa27603f8433b87b38b15f14 (diff)
downloadports-d095d4a96566a3ab095ab2e30430ce93a154f1a7.tar.gz
ports-d095d4a96566a3ab095ab2e30430ce93a154f1a7.zip
- Remove conditional checks for FreeBSD 5.x and older
Notes
Notes: svn path=/head/; revision=225293
Diffstat (limited to 'editors/xcoral')
-rw-r--r--editors/xcoral/Makefile12
1 files changed, 2 insertions, 10 deletions
diff --git a/editors/xcoral/Makefile b/editors/xcoral/Makefile
index 6969b1840e7f..5057783453bf 100644
--- a/editors/xcoral/Makefile
+++ b/editors/xcoral/Makefile
@@ -20,19 +20,11 @@ CONFIGURE_ARGS= --libdir=${PREFIX}/share
PLIST_SUB= VERSION="${PORTVERSION}"
-.include <bsd.port.pre.mk>
-
-.if ${OSVERSION} > 502010
-GNU_REGEX_H= gnu/regex.h
-.else
-GNU_REGEX_H= gnuregex.h
-.endif
-
post-patch:
@${REINPLACE_CMD} -e 's| regex\.c | |g ; \
s| -g | |g' ${WRKSRC}/Makefile.in
@${REINPLACE_CMD} -e \
- 's|"regex\.h"|<${GNU_REGEX_H}>|g' ${WRKSRC}/bm_search.c
+ 's|"regex\.h"|<gnu/regex.h>|g' ${WRKSRC}/bm_search.c
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/xcoral ${PREFIX}/bin
@@ -43,4 +35,4 @@ do-install:
${INSTALL_DATA} ${WRKSRC}/Doc/* ${DOCSDIR}
.endif
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>