summaryrefslogtreecommitdiff
path: root/x11
diff options
context:
space:
mode:
authorRenato Botelho <garga@FreeBSD.org>2008-04-29 19:29:38 +0000
committerRenato Botelho <garga@FreeBSD.org>2008-04-29 19:29:38 +0000
commit1c13efaf178fdc1acce1a0282ade3be48ba8c579 (patch)
treed2f5428c1e9dc334e694d891a51a466f44cd0466 /x11
parentAdd valid values fc6, f7 and f8: (diff)
- Fixed pkg-descr
- Change simple patch to reinplace_cmd
Notes
Notes: svn path=/head/; revision=212283
Diffstat (limited to 'x11')
-rw-r--r--x11/gmrun/Makefile4
-rw-r--r--x11/gmrun/files/patch-src::gtkcompletionline.cc11
-rw-r--r--x11/gmrun/pkg-descr2
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