diff options
author | garga <garga@FreeBSD.org> | 2008-04-30 03:29:38 +0800 |
---|---|---|
committer | garga <garga@FreeBSD.org> | 2008-04-30 03:29:38 +0800 |
commit | 4dd7ae1a294364033517fe1e9b056503e2105622 (patch) | |
tree | 2062056a56b6569cd8e59cae42ff80af12c8e28a | |
parent | f99a860d84226273a882c42d7bdfb0a46a86495f (diff) | |
download | freebsd-ports-gnome-4dd7ae1a294364033517fe1e9b056503e2105622.tar.gz freebsd-ports-gnome-4dd7ae1a294364033517fe1e9b056503e2105622.tar.zst freebsd-ports-gnome-4dd7ae1a294364033517fe1e9b056503e2105622.zip |
- Fixed pkg-descr
- Change simple patch to reinplace_cmd
-rw-r--r-- | x11/gmrun/Makefile | 4 | ||||
-rw-r--r-- | x11/gmrun/files/patch-src::gtkcompletionline.cc | 11 | ||||
-rw-r--r-- | x11/gmrun/pkg-descr | 2 |
3 files changed, 5 insertions, 12 deletions
diff --git a/x11/gmrun/Makefile b/x11/gmrun/Makefile index 60e003f435a3..6bb1a9547961 100644 --- a/x11/gmrun/Makefile +++ b/x11/gmrun/Makefile @@ -31,6 +31,10 @@ PLIST_DIRS= %%DATADIR%% .include <bsd.port.pre.mk> +post-patch: + @${REINPLACE_CMD} -e '/select_executables_only(const struct dirent/ s,const ,,' \ + ${WRKSRC}/src/gtkcompletionline.cc + post-install: .if !defined(NOPORTDOCS) @${MKDIR} ${DOCSDIR} diff --git a/x11/gmrun/files/patch-src::gtkcompletionline.cc b/x11/gmrun/files/patch-src::gtkcompletionline.cc deleted file mode 100644 index aca565accc3c..000000000000 --- a/x11/gmrun/files/patch-src::gtkcompletionline.cc +++ /dev/null @@ -1,11 +0,0 @@ ---- src/gtkcompletionline.cc Thu Dec 18 14:47:42 2003 -+++ src/gtkcompletionline.cc.orig Thu Dec 18 14:50:30 2003 -@@ -348,7 +348,7 @@ - } - - static int --select_executables_only(const struct dirent* dent) -+select_executables_only(struct dirent* dent) - { - int len = strlen(dent->d_name); - int lenp = prefix.length(); diff --git a/x11/gmrun/pkg-descr b/x11/gmrun/pkg-descr index 9652d1376766..9b92d502ffff 100644 --- a/x11/gmrun/pkg-descr +++ b/x11/gmrun/pkg-descr @@ -3,7 +3,7 @@ gmrun is a very featureful GTK+-2 Run box. Its features include: * Tilde completion * Completion for separate words * Cycleable command history - * Configuration file in /usr/X11R6/share/gmrun/gmrunrc, + * Configuration file in ${PREFIX}/share/gmrun/gmrunrc, which can be copied to ~/.gmrunrc * Can spawn commands in a terminal * Intelligent URL handling |