From owner-freebsd-ports-bugs@FreeBSD.ORG Sat Aug 12 07:40:21 2006 Return-Path: X-Original-To: freebsd-ports-bugs@hub.freebsd.org Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7FEE116A4F2 for ; Sat, 12 Aug 2006 07:40:21 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 96FAD43D4C for ; Sat, 12 Aug 2006 07:40:20 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k7C7eKAo083327 for ; Sat, 12 Aug 2006 07:40:20 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k7C7eKBd083326; Sat, 12 Aug 2006 07:40:20 GMT (envelope-from gnats) Resent-Date: Sat, 12 Aug 2006 07:40:20 GMT Resent-Message-Id: <200608120740.k7C7eKBd083326@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Gea-Suan Lin Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8385D16A4DF; Sat, 12 Aug 2006 07:40:10 +0000 (UTC) (envelope-from gslin@netnews.NCTU.edu.tw) Received: from netnews.NCTU.edu.tw (ccreader.nctu.edu.tw [140.113.54.119]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1C40A43D46; Sat, 12 Aug 2006 07:40:10 +0000 (GMT) (envelope-from gslin@netnews.NCTU.edu.tw) Received: by netnews.NCTU.edu.tw (Postfix, from userid 1000) id AED60372; Sat, 12 Aug 2006 15:40:06 +0800 (CST) Message-Id: <20060812074006.AED60372@netnews.NCTU.edu.tw> Date: Sat, 12 Aug 2006 15:40:06 +0800 (CST) From: Gea-Suan Lin To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: gslin@gslin.org, clsung@FreeBSD.org Subject: ports/101878: [PATCH] japanese/mecab: Respect DESTDIR X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 12 Aug 2006 07:40:21 -0000 >Number: 101878 >Category: ports >Synopsis: [PATCH] japanese/mecab: 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 07:40:20 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 (clsung@FreeBSD.org) is cc'd. Generated with FreeBSD Port Tools 0.77 >How-To-Repeat: >Fix: --- mecab-0.93_1.patch begins here --- diff -ruN --exclude=CVS /usr/ports/japanese/mecab/Makefile /home/staff/gslin/work/ports/mecab/Makefile --- /usr/ports/japanese/mecab/Makefile Thu Aug 3 03:10:00 2006 +++ /home/staff/gslin/work/ports/mecab/Makefile Sat Aug 12 15:39:12 2006 @@ -18,13 +18,13 @@ SUB_DIR= 21187 +GNU_CONFIGURE= yes USE_ICONV= yes +USE_LDCONFIG= yes USE_PERL5_BUILD= yes -GNU_CONFIGURE= yes -INSTALLS_SHLIB= yes -CONFIGURE_ENV= CPPFLAGS="${PTHREAD_CFLAGS} -I ${PREFIX}/include" \ - LDFLAGS="${LDFLAGS} -L${PREFIX}/lib" +CONFIGURE_ENV= CPPFLAGS="${PTHREAD_CFLAGS} -I ${LOCALBASE}/include" \ + LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib" # Default charset (euc-jp/shift_jis/utf-8) .if defined(WITH_CHARSET) @@ -50,8 +50,8 @@ ${CP} ${WRKSRC}/mecabrc ${WRKSRC}/mecabrc.dist post-install: - @if [ ! -f ${PREFIX}/etc/mecabrc ]; then \ - ${INSTALL_DATA} ${PREFIX}/etc/mecabrc.dist ${PREFIX}/etc/mecabrc; \ + @if [ ! -f ${TARGETDIR}/etc/mecabrc ]; then \ + ${INSTALL_DATA} ${TARGETDIR}/etc/mecabrc.dist ${TARGETDIR}/etc/mecabrc; \ fi .if !defined(NOPORTDOCS) ${MKDIR} ${DOCSDIR} diff -ruN --exclude=CVS /usr/ports/japanese/mecab/pkg-plist /home/staff/gslin/work/ports/mecab/pkg-plist --- /usr/ports/japanese/mecab/pkg-plist Mon Jul 31 10:52:49 2006 +++ /home/staff/gslin/work/ports/mecab/pkg-plist Sat Aug 12 15:39:26 2006 @@ -1,3 +1,4 @@ +@comment $FreeBSD$ bin/mecab bin/mecab-config include/mecab.h --- mecab-0.93_1.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted: