aboutsummaryrefslogtreecommitdiffstats
path: root/editors/le
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/le
parent5ae596207dc0bd85ca28a43d715d82bc6b358b81 (diff)
downloadfreebsd-ports-gnome-72173ae40a3c3cc1a23bba84b7ed08e57ae4f92e.tar.gz
freebsd-ports-gnome-72173ae40a3c3cc1a23bba84b7ed08e57ae4f92e.tar.zst
freebsd-ports-gnome-72173ae40a3c3cc1a23bba84b7ed08e57ae4f92e.zip
- Remove conditional checks for FreeBSD 5.x and older
Diffstat (limited to 'editors/le')
-rw-r--r--editors/le/Makefile12
1 files changed, 2 insertions, 10 deletions
diff --git a/editors/le/Makefile b/editors/le/Makefile
index 4c1aae293fa9..0c6d1afe094d 100644
--- a/editors/le/Makefile
+++ b/editors/le/Makefile
@@ -27,19 +27,11 @@ MISC_DATA= colors-black colors-blue colors-defbg colors-green \
colors-white keymap-emacs mainmenu mainmenu-ru syntax
SRC_DATA= le.hlp
-.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|@LIBOBJS@||g ; \
s|@ALLOCA@||g' ${WRKSRC}/lib/Makefile.in
.for file in configure src/search.cc src/highli.h
- @${REINPLACE_CMD} -e 's|<regex.h>|<${GNU_REGEX_H}>|g' ${WRKSRC}/${file}
+ @${REINPLACE_CMD} -e 's|<regex.h>|<gnu/regex.h>|g' ${WRKSRC}/${file}
.endfor
do-install:
@@ -61,4 +53,4 @@ do-install:
.endfor
.endif
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>