aboutsummaryrefslogtreecommitdiffstats
path: root/textproc
diff options
context:
space:
mode:
authorlx <lx@FreeBSD.org>2007-05-01 05:44:45 +0800
committerlx <lx@FreeBSD.org>2007-05-01 05:44:45 +0800
commit132a9b8ce316018fd71c3f290f9533f12f25ac28 (patch)
tree7f882dc6e8800a8a5708b1856691636ead7a2d2f /textproc
parent3e663a759f88799b8bec9b2b064ee1dfbec03452 (diff)
downloadfreebsd-ports-gnome-132a9b8ce316018fd71c3f290f9533f12f25ac28.tar.gz
freebsd-ports-gnome-132a9b8ce316018fd71c3f290f9533f12f25ac28.tar.zst
freebsd-ports-gnome-132a9b8ce316018fd71c3f290f9533f12f25ac28.zip
Fix wonky PREFIX handling.
Submitted by: kris via pointyhat Approved by: edwin (mentor)
Diffstat (limited to 'textproc')
-rw-r--r--textproc/scim-table-imengine/Makefile1
-rw-r--r--textproc/scim-table-imengine/files/patch-configure13
-rw-r--r--textproc/scim-table-imengine/pkg-plist6
3 files changed, 18 insertions, 2 deletions
diff --git a/textproc/scim-table-imengine/Makefile b/textproc/scim-table-imengine/Makefile
index 9a635f3c2a88..862d959af98e 100644
--- a/textproc/scim-table-imengine/Makefile
+++ b/textproc/scim-table-imengine/Makefile
@@ -30,6 +30,7 @@ MAN1= scim-make-table.1
CONFIGURE_ENV+= CPPFLAGS="-I${LOCALBASE}/include -D__STDC_ISO_10646__" \
LDFLAGS="-L${LOCALBASE}/lib -lintl" \
+ PREFIX="${PREFIX}" \
SCIM_DATADIR=${PREFIX}/share/scim \
SCIM_ICONDIR=${PREFIX}/share/scim/icons
diff --git a/textproc/scim-table-imengine/files/patch-configure b/textproc/scim-table-imengine/files/patch-configure
new file mode 100644
index 000000000000..021399f3d44b
--- /dev/null
+++ b/textproc/scim-table-imengine/files/patch-configure
@@ -0,0 +1,13 @@
+--- configure.orig Mon Apr 30 13:30:12 2007
++++ configure Mon Apr 30 13:30:25 2007
+@@ -30244,10 +30244,6 @@
+ CXXFLAGS="$CXXFLAGS -g"
+ fi
+
+-SCIM_ICONDIR=`$PKG_CONFIG --variable=icondir scim`
+-SCIM_MODULEDIR=`$PKG_CONFIG --variable=moduledir scim`
+-SCIM_DATADIR=`$PKG_CONFIG --variable=scimdatadir scim`
+-
+ if test "x$SCIM_ICONDIR" = "x"; then
+ SCIM_ICONDIR=${datadir}/scim/icons
+ fi
diff --git a/textproc/scim-table-imengine/pkg-plist b/textproc/scim-table-imengine/pkg-plist
index 38f2a2f2db01..722d84328513 100644
--- a/textproc/scim-table-imengine/pkg-plist
+++ b/textproc/scim-table-imengine/pkg-plist
@@ -39,5 +39,7 @@ share/locale/pa/LC_MESSAGES/scim-tables.mo
@dirrmtry share/locale/zh_CN
@dirrmtry share/locale/ko/LC_MESSAGES
@dirrmtry share/locale/ko
-@dirrmtry lib/scim-1.0/SetupUI
-@dirrmtry lib/scim-1.0/IMEngine
+@dirrmtry lib/scim-1.0/1.4.0/SetupUI
+@dirrmtry lib/scim-1.0/1.4.0/IMEngine
+@dirrmtry lib/scim-1.0/1.4.0
+@dirrmtry lib/scim-1.0