diff --git a/x11/gmrun/Makefile b/x11/gmrun/Makefile index 40567813e60c..0f8ee0b9e13c 100644 --- a/x11/gmrun/Makefile +++ b/x11/gmrun/Makefile @@ -31,14 +31,13 @@ PLIST_DIRS= %%DATADIR%% .include post-patch: -.if ${OSVERSION} >= 900006 +.if ( ${OSVERSION} >= 800501 && ${OSVERSION} < 900000 ) || ( ${OSVERSION} >= 900006 ) @${REINPLACE_CMD} -e '/my_alphasort/s#const void\*#const struct dirent**#g' \ ${WRKSRC}/src/gtkcompletionline.cc .else @${REINPLACE_CMD} -e '/select_executables_only(const /s#const ##' \ ${WRKSRC}/src/gtkcompletionline.cc .endif - post-install: .if !defined(NOPORTDOCS)