aboutsummaryrefslogtreecommitdiffstats
path: root/editors/zile/Makefile
diff options
context:
space:
mode:
authorpav <pav@FreeBSD.org>2009-01-06 03:44:02 +0800
committerpav <pav@FreeBSD.org>2009-01-06 03:44:02 +0800
commit72173ae40a3c3cc1a23bba84b7ed08e57ae4f92e (patch)
treed1102c67d6d770e809475dae366f152130cb1883 /editors/zile/Makefile
parent5ae596207dc0bd85ca28a43d715d82bc6b358b81 (diff)
downloadfreebsd-ports-graphics-72173ae40a3c3cc1a23bba84b7ed08e57ae4f92e.tar.gz
freebsd-ports-graphics-72173ae40a3c3cc1a23bba84b7ed08e57ae4f92e.tar.zst
freebsd-ports-graphics-72173ae40a3c3cc1a23bba84b7ed08e57ae4f92e.zip
- Remove conditional checks for FreeBSD 5.x and older
Diffstat (limited to 'editors/zile/Makefile')
-rw-r--r--editors/zile/Makefile12
1 files changed, 2 insertions, 10 deletions
diff --git a/editors/zile/Makefile b/editors/zile/Makefile
index 18cd1edbedf..1f19cd06557 100644
--- a/editors/zile/Makefile
+++ b/editors/zile/Makefile
@@ -24,21 +24,13 @@ PLIST_FILES= bin/zile %%DATADIR%%/AUTODOC %%DATADIR%%/FAQ %%DATADIR%%/HELP \
%%DATADIR%%/TUTORIAL %%DATADIR%%/dotzile.sample
PLIST_DIRS= %%DATADIR%%
-.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\.h>|<${GNU_REGEX_H}>|g ; \
s|-pedantic||g' ${WRKSRC}/configure
@${REINPLACE_CMD} -e \
- 's|"regex\.h"|<${GNU_REGEX_H}>|g' ${WRKSRC}/src/search.c
+ 's|"regex\.h"|<gnu/regex.h>|g' ${WRKSRC}/src/search.c
@${REINPLACE_CMD} -e \
's|: install-exec-local|:|g' ${WRKSRC}/lib/Makefile.in
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>