aboutsummaryrefslogtreecommitdiffstats
path: root/chinese/oxim
diff options
context:
space:
mode:
authorantoine <antoine@FreeBSD.org>2013-06-18 00:18:54 +0800
committerantoine <antoine@FreeBSD.org>2013-06-18 00:18:54 +0800
commit72fe46771cf0d99241301abb12d75c4417f82a0e (patch)
tree4f8b33d01c93e53d99fce1d74a38960934863f15 /chinese/oxim
parentc75f3526e9ba73b22ed75af73a1ed915aeb5a029 (diff)
downloadfreebsd-ports-gnome-72fe46771cf0d99241301abb12d75c4417f82a0e.tar.gz
freebsd-ports-gnome-72fe46771cf0d99241301abb12d75c4417f82a0e.tar.zst
freebsd-ports-gnome-72fe46771cf0d99241301abb12d75c4417f82a0e.zip
- Add gtk-query-immodules to _FORCE_POST_PATTERNS to run it post-deinstall
with pkg - Consistently use full path when running gtk-query-immodules as the path is embedded in output (we prefer reproducible output) This fixes leftovers reported by poudriere ====>> Files or directories modified: etc/gtk-2.0/gtk.immodules PR: ports/179230 Approved by: portmgr (bapt)
Diffstat (limited to 'chinese/oxim')
-rw-r--r--chinese/oxim/Makefile2
-rw-r--r--chinese/oxim/pkg-plist4
2 files changed, 3 insertions, 3 deletions
diff --git a/chinese/oxim/Makefile b/chinese/oxim/Makefile
index 4db7827ca5ed..9f1e644a6f7b 100644
--- a/chinese/oxim/Makefile
+++ b/chinese/oxim/Makefile
@@ -84,7 +84,7 @@ post-patch:
post-install:
.if ${PORT_OPTIONS:MGTK2}
- @gtk-query-immodules-2.0 > ${PREFIX}/etc/gtk-2.0/gtk.immodules
+ @${LOCALBASE}/bin/gtk-query-immodules-2.0 > ${PREFIX}/etc/gtk-2.0/gtk.immodules
.endif
@${CAT} ${PKGMESSAGE}
@${ECHO} To display this message again, type ${PKG_INFO} -D ${PKGNAME}
diff --git a/chinese/oxim/pkg-plist b/chinese/oxim/pkg-plist
index f8f5eb5a035d..62ddadf877ca 100644
--- a/chinese/oxim/pkg-plist
+++ b/chinese/oxim/pkg-plist
@@ -35,5 +35,5 @@ share/locale/zh_TW/LC_MESSAGES/oxim.mo
@dirrmtry share/locale/zh_HK
%%GTK2%%@dirrmtry lib/gtk-2.0/immodules
%%GTK2%%@dirrmtry lib/gtk-2.0
-%%GTK2%%@exec gtk-query-immodules-2.0 > %D/etc/gtk-2.0/gtk.immodules
-%%GTK2%%@unexec gtk-query-immodules-2.0 > %D/etc/gtk-2.0/gtk.immodules
+%%GTK2%%@exec %%LOCALBASE%%/bin/gtk-query-immodules-2.0 > %D/etc/gtk-2.0/gtk.immodules
+%%GTK2%%@unexec %%LOCALBASE%%/bin/gtk-query-immodules-2.0 > %D/etc/gtk-2.0/gtk.immodules