From e4f271edfee756b79c50dbc11f5d15ee0a131b0d Mon Sep 17 00:00:00 2001 From: Pietro Cerutti Date: Thu, 3 Jul 2008 22:11:38 +0000 Subject: [PATCH] - Respect NOPORTDATA [1] - Remove 5.x support Reported by: QA Tindy Curse [1] --- editors/le/Makefile | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/editors/le/Makefile b/editors/le/Makefile index 7cd36623aca3..e3c9b995410e 100644 --- a/editors/le/Makefile +++ b/editors/le/Makefile @@ -26,17 +26,19 @@ PLIST_FILES+= bin/le .include -.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 @${REINPLACE_CMD} -e 's||<${GNU_REGEX_H}>|g' \ ${WRKSRC}/src/highli.h +.if defined(NOPORTDATA) + @${REINPLACE_CMD} -e 's|misc||g' \ + ${WRKSRC}/Makefile.in + @${REINPLACE_CMD} -e 's|le.hlp||g;468s|install-pkgdataDATA||' \ + ${WRKSRC}/src/Makefile.in +.endif post-install: .if !defined(NOPORTDOCS)