diff options
author | Rong-En Fan <rafan@FreeBSD.org> | 2006-08-13 02:08:49 +0800 |
---|---|---|
committer | Rong-En Fan <rafan@FreeBSD.org> | 2006-08-13 02:08:49 +0800 |
commit | 15c4605568a43cdf0beff4e6968d3d379c3c77c6 (patch) | |
tree | db1067a311ce2fe908bd8e921da0f4a087572193 /chinese | |
parent | 99e9de5489d720bee1f8857d0bad639a27c2c87b (diff) | |
download | freebsd-ports-gnome-15c4605568a43cdf0beff4e6968d3d379c3c77c6.tar.gz freebsd-ports-gnome-15c4605568a43cdf0beff4e6968d3d379c3c77c6.tar.zst freebsd-ports-gnome-15c4605568a43cdf0beff4e6968d3d379c3c77c6.zip |
- Respect TARGETDIR
- Utilize USE_LDCONFIG
PR: ports/101884
Submitted by: Gea-Suan Lin <gslin at gslin.org>
Diffstat (limited to 'chinese')
-rw-r--r-- | chinese/oxim/Makefile | 8 |
1 files changed, 4 insertions, 4 deletions
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 <bsd.port.pre.mk> @@ -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} |