From a731702f41738a9e67d2358449342fa7c49b312f Mon Sep 17 00:00:00 2001 From: Renato Botelho Date: Thu, 4 Mar 2010 11:01:13 +0000 Subject: [PATCH] Fix build on 8.x >= 800501 Reported by: erwin Feature safe: yes --- x11/gmrun/Makefile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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)