summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPietro Cerutti <gahr@FreeBSD.org>2008-07-03 22:11:38 +0000
committerPietro Cerutti <gahr@FreeBSD.org>2008-07-03 22:11:38 +0000
commite4f271edfee756b79c50dbc11f5d15ee0a131b0d (patch)
tree586c0eec4b9fbb727de8d3d5088f33ef59cb9209
parentUpdate to 9.5.1 (diff)
- Respect NOPORTDATA [1]
- Remove 5.x support Reported by: QA Tindy Curse [1]
Notes
Notes: svn path=/head/; revision=216266
-rw-r--r--editors/le/Makefile10
1 files 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 <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
@${REINPLACE_CMD} -e 's|<regex.h>|<${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)