diff options
author | Pav Lucistnik <pav@FreeBSD.org> | 2009-01-05 19:44:02 +0000 |
---|---|---|
committer | Pav Lucistnik <pav@FreeBSD.org> | 2009-01-05 19:44:02 +0000 |
commit | d095d4a96566a3ab095ab2e30430ce93a154f1a7 (patch) | |
tree | ca5cd97e4ad40da4b6e4a6c197453610fd6c69b1 /editors/le | |
parent | c0a7a1f97264b914fa27603f8433b87b38b15f14 (diff) | |
download | ports-d095d4a96566a3ab095ab2e30430ce93a154f1a7.tar.gz ports-d095d4a96566a3ab095ab2e30430ce93a154f1a7.zip |
Notes
Diffstat (limited to 'editors/le')
-rw-r--r-- | editors/le/Makefile | 12 |
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> |