Fix build on 8.x >= 800501

Reported by:	erwin
Feature safe:	yes
This commit is contained in:
Renato Botelho 2010-03-04 11:01:13 +00:00
parent e82bc2acb5
commit a731702f41
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=250548

View file

@ -31,7 +31,7 @@ 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
@ -39,7 +39,6 @@ post-patch:
${WRKSRC}/src/gtkcompletionline.cc ${WRKSRC}/src/gtkcompletionline.cc
.endif .endif
post-install: post-install:
.if !defined(NOPORTDOCS) .if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR} @${MKDIR} ${DOCSDIR}