diff options
author | Mathieu Arnold <mat@FreeBSD.org> | 2015-04-03 11:26:48 +0000 |
---|---|---|
committer | Mathieu Arnold <mat@FreeBSD.org> | 2015-04-03 11:26:48 +0000 |
commit | 0438143249634ab5028e53cb468d99a894c62995 (patch) | |
tree | 204c01c7973e83331fc29d8b09e59b3e9f219bd6 /x11/gmrun | |
parent | 68f48ea6c2e03359333e7b211625e51e06aa2026 (diff) | |
download | ports-0438143249634ab5028e53cb468d99a894c62995.tar.gz ports-0438143249634ab5028e53cb468d99a894c62995.zip |
Remove OSVERSION checks that do not make sense any more.
For example (${OSVERSION} >= 900000 && ${OSVERSION} < 900021) is always true,
as is (${OSVERSION} > 900002 || ${OSVERSION} < 900000 && ${OSVERSION} > 800107).
Regarding patches, when an EXTRA_PATCHES is no longer needed, I remove it, when
it is always needed, I renamed it, in one case, I merged two patches.
Differential Revision: https://reviews.freebsd.org/D2209
Notes
Notes:
svn path=/head/; revision=383107
Diffstat (limited to 'x11/gmrun')
-rw-r--r-- | x11/gmrun/Makefile | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/x11/gmrun/Makefile b/x11/gmrun/Makefile index c523bcb3b242..da160e8ec9f8 100644 --- a/x11/gmrun/Makefile +++ b/x11/gmrun/Makefile @@ -24,19 +24,12 @@ CONFIGURE_ARGS= --disable-stlport PORTDOCS= README PLIST_FILES= bin/gmrun %%DATADIR%%/gmrunrc -.include <bsd.port.pre.mk> - post-patch: -.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: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR} -.include <bsd.port.post.mk> +.include <bsd.port.mk> |