ports/101884: [PATCH] chinese/oxim: Respect DESTDIR
Gea-Suan Lin
gslin at gslin.org
Sat Aug 12 08:50:18 UTC 2006
>Number: 101884
>Category: ports
>Synopsis: [PATCH] chinese/oxim: Respect DESTDIR
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Sat Aug 12 08:50:16 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator: Gea-Suan Lin
>Release: FreeBSD 6.1-RELEASE i386
>Organization:
>Environment:
System: FreeBSD netnews.NCTU.edu.tw 6.1-RELEASE FreeBSD 6.1-RELEASE #0: Sat May 13 03:43:48 CST 2006
>Description:
- Respect DESTDIR
- Use USE_LDCONFIG
Port maintainer (rafan at FreeBSD.org) is cc'd.
Generated with FreeBSD Port Tools 0.77
>How-To-Repeat:
>Fix:
--- oxim-1.0.3_1.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/chinese/oxim/Makefile /home/staff/gslin/work/ports/oxim/Makefile
--- /usr/ports/chinese/oxim/Makefile Tue Jun 27 11:58:53 2006
+++ /home/staff/gslin/work/ports/oxim/Makefile Sat Aug 12 16:47:20 2006
@@ -29,14 +29,14 @@
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 @@
#.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}
--- oxim-1.0.3_1.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list