mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 01:39:16 -04:00
Fix build on 8.x >= 800501
Reported by: erwin Feature safe: yes
This commit is contained in:
parent
e82bc2acb5
commit
a731702f41
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=250548
1 changed files with 1 additions and 2 deletions
|
@ -31,14 +31,13 @@ PLIST_DIRS= %%DATADIR%%
|
||||||
.include <bsd.port.pre.mk>
|
.include <bsd.port.pre.mk>
|
||||||
|
|
||||||
post-patch:
|
post-patch:
|
||||||
.if ${OSVERSION} >= 900006
|
.if ( ${OSVERSION} >= 800501 && ${OSVERSION} < 900000 ) || ( ${OSVERSION} >= 900006 )
|
||||||
@${REINPLACE_CMD} -e '/my_alphasort/s#const void\*#const struct dirent**#g' \
|
@${REINPLACE_CMD} -e '/my_alphasort/s#const void\*#const struct dirent**#g' \
|
||||||
${WRKSRC}/src/gtkcompletionline.cc
|
${WRKSRC}/src/gtkcompletionline.cc
|
||||||
.else
|
.else
|
||||||
@${REINPLACE_CMD} -e '/select_executables_only(const /s#const ##' \
|
@${REINPLACE_CMD} -e '/select_executables_only(const /s#const ##' \
|
||||||
${WRKSRC}/src/gtkcompletionline.cc
|
${WRKSRC}/src/gtkcompletionline.cc
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
|
|
||||||
post-install:
|
post-install:
|
||||||
.if !defined(NOPORTDOCS)
|
.if !defined(NOPORTDOCS)
|
||||||
|
|
Loading…
Add table
Reference in a new issue