mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 17:59:20 -04:00
- Respect NOPORTDATA [1]
- Remove 5.x support Reported by: QA Tindy Curse [1]
This commit is contained in:
parent
854dfbdf2e
commit
e4f271edfe
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=216266
1 changed files with 6 additions and 4 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Reference in a new issue