diff options
author | rafan <rafan@FreeBSD.org> | 2006-08-13 02:08:49 +0800 |
---|---|---|
committer | rafan <rafan@FreeBSD.org> | 2006-08-13 02:08:49 +0800 |
commit | 8ac5cb368722adbb30b6786b89a05f38f90c815d (patch) | |
tree | 666784a09552ef678de77e91fb5bc0b4cd4e60a0 /chinese | |
parent | faafc017da07f529409f5945468c2cfa07e5b2de (diff) | |
download | freebsd-ports-graphics-8ac5cb368722adbb30b6786b89a05f38f90c815d.tar.gz freebsd-ports-graphics-8ac5cb368722adbb30b6786b89a05f38f90c815d.tar.zst freebsd-ports-graphics-8ac5cb368722adbb30b6786b89a05f38f90c815d.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 d96d8d4333c..2a74e842c1c 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} |