From 8ac5cb368722adbb30b6786b89a05f38f90c815d Mon Sep 17 00:00:00 2001 From: rafan Date: Sat, 12 Aug 2006 18:08:49 +0000 Subject: - Respect TARGETDIR - Utilize USE_LDCONFIG PR: ports/101884 Submitted by: Gea-Suan Lin --- chinese/oxim/Makefile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'chinese') diff --git a/chinese/oxim/Makefile b/chinese/oxim/Makefile index d96d8d4333c3..2a74e842c1c9 100644 --- a/chinese/oxim/Makefile +++ b/chinese/oxim/Makefile @@ -29,14 +29,14 @@ USE_X_PREFIX= yes USE_GNOME= GNU_CONFIGURE= yes -INSTALLS_SHLIB= yes +USE_LDCONFIG= yes CPPFLAGS+= -I${LOCALBASE}/include -I${X11BASE}/include LDFLAGS+= -L${LOCALBASE}/lib -liconv CONFIGURE_ENV+= CPPFLAGS="${CPPFLAGS}" \ LDFLAGS="${LDFLAGS}" CONFIGURE_ARGS+=--disable-bimsphone-module \ --disable-static \ - --with-conf-dir=${PREFIX}/etc/${PORTNAME} + --with-conf-dir=${TARGETDIR}/etc/${PORTNAME} .include @@ -81,12 +81,12 @@ PLIST_SUB+= NLS="" #.endif post-patch: - ${REINPLACE_CMD} 's|%%PREFIX%%|${PREFIX}|' \ + ${REINPLACE_CMD} 's|%%PREFIX%%|${TARGETDIR}|' \ ${WRKSRC}/src/gtk-immodule/gtkintl.h post-install: .if !defined(WITHOUT_GTK2) - @gtk-query-immodules-2.0 > ${PREFIX}/etc/gtk-2.0/gtk.immodules + @gtk-query-immodules-2.0 > ${TARGETDIR}/etc/gtk-2.0/gtk.immodules .endif @${CAT} ${PKGMESSAGE} @${ECHO} To display this message again, type ${PKG_INFO} -D ${PKGNAME} -- cgit