aboutsummaryrefslogtreecommitdiffstats
path: root/textproc
diff options
context:
space:
mode:
authornobutaka <nobutaka@FreeBSD.org>2010-12-19 12:17:19 +0800
committernobutaka <nobutaka@FreeBSD.org>2010-12-19 12:17:19 +0800
commitfdd09ef1f4d5c178c8c5883bbf42794305e685f0 (patch)
tree09d55131cc2ff59dcda12cc9242522993d0b1feb /textproc
parent8416c70538a3efb62e7c103c30b9cb959630a36a (diff)
downloadfreebsd-ports-gnome-fdd09ef1f4d5c178c8c5883bbf42794305e685f0.tar.gz
freebsd-ports-gnome-fdd09ef1f4d5c178c8c5883bbf42794305e685f0.tar.zst
freebsd-ports-gnome-fdd09ef1f4d5c178c8c5883bbf42794305e685f0.zip
Fix build error.
Diffstat (limited to 'textproc')
-rw-r--r--textproc/uim-kde4/Makefile10
-rw-r--r--textproc/uim-kde4/pkg-plist4
2 files changed, 8 insertions, 6 deletions
diff --git a/textproc/uim-kde4/Makefile b/textproc/uim-kde4/Makefile
index 7639d33b0a9d..d8a20f3a3a03 100644
--- a/textproc/uim-kde4/Makefile
+++ b/textproc/uim-kde4/Makefile
@@ -11,12 +11,10 @@ COMMENT= KDE4 panel applet of uim input method
BUILD_DEPENDS= cmake:${PORTSDIR}/devel/cmake
LIB_DEPENDS= uim.7:${PORTSDIR}/textproc/uim
-RUN_DEPENDS= uim-pref-qt4:${PORTSDIR}/textproc/uim-qt
-
-BROKEN= does not compile
+RUN_DEPENDS= uim-pref-qt4:${PORTSDIR}/textproc/uim-qt4
USE_GCC= 4.2+
-USE_KDE4= kdelibs automoc4
+USE_KDE4= kdehier kdeprefix kdelibs automoc4
USE_QT_VER= 4
QT_COMPONENTS= qmake_build moc_build qt3support uic rcc
USE_AUTOTOOLS= libtool
@@ -25,6 +23,10 @@ MASTERDIR= ${.CURDIR}/../../textproc/uim
PKGDIR= ${.CURDIR}
CONFIGURE_ARGS= --with-qt4 --enable-pref --enable-default-toolkit=qt4 \
--enable-kde4-applet
+CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS} -I${LOCALBASE}/include" \
+ CFLAGS="${CFLAGS} -I${LOCALBASE}/include" \
+ LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib" \
+ KDE4_CONFIG="${KDE4_PREFIX}/bin/kde4-config"
UIM_SLAVE= yes
EXTRA_PATCHES= ${PATCHDIR}/extra-patch-qt4_toolbar_CMakeLists.txt
diff --git a/textproc/uim-kde4/pkg-plist b/textproc/uim-kde4/pkg-plist
index 52a8f47a337d..da52c940e4e3 100644
--- a/textproc/uim-kde4/pkg-plist
+++ b/textproc/uim-kde4/pkg-plist
@@ -1,2 +1,2 @@
-kde4/lib/kde4/plasma_applet_uim.so
-kde4/share/kde4/services/plasma-applet-uim.desktop
+lib/kde4/plasma_applet_uim.so
+share/kde4/services/plasma-applet-uim.desktop