aboutsummaryrefslogtreecommitdiff
path: root/x11/gmrun
diff options
context:
space:
mode:
authorRenato Botelho <garga@FreeBSD.org>2010-03-04 11:01:13 +0000
committerRenato Botelho <garga@FreeBSD.org>2010-03-04 11:01:13 +0000
commita731702f41738a9e67d2358449342fa7c49b312f (patch)
treef8801517a62610283822c2861b637d84de69e737 /x11/gmrun
parente82bc2acb55f990e101b8165c85377b9051d3867 (diff)
downloadports-a731702f41738a9e67d2358449342fa7c49b312f.tar.gz
ports-a731702f41738a9e67d2358449342fa7c49b312f.zip
Fix build on 8.x >= 800501
Reported by: erwin Feature safe: yes
Notes
Notes: svn path=/head/; revision=250548
Diffstat (limited to 'x11/gmrun')
-rw-r--r--x11/gmrun/Makefile3
1 files changed, 1 insertions, 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 <bsd.port.pre.mk>
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)