From owner-freebsd-ports-bugs@FreeBSD.ORG Sat Aug 12 19:00:42 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 DC73016A4DA for ; Sat, 12 Aug 2006 19:00:42 +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 80B6743D45 for ; Sat, 12 Aug 2006 19:00:42 +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 k7CJ0bMP046281 for ; Sat, 12 Aug 2006 19:00:37 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k7CJ0b1h046280; Sat, 12 Aug 2006 19:00:37 GMT (envelope-from gnats) Resent-Date: Sat, 12 Aug 2006 19:00:37 GMT Resent-Message-Id: <200608121900.k7CJ0b1h046280@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 2C15316A4DA for ; Sat, 12 Aug 2006 18:57:50 +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 CB22643D45 for ; Sat, 12 Aug 2006 18:57:49 +0000 (GMT) (envelope-from gslin@netnews.NCTU.edu.tw) Received: by netnews.NCTU.edu.tw (Postfix, from userid 1000) id E17E9116; Sun, 13 Aug 2006 02:57:43 +0800 (CST) Message-Id: <20060812185743.E17E9116@netnews.NCTU.edu.tw> Date: Sun, 13 Aug 2006 02:57:43 +0800 (CST) From: Gea-Suan Lin To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: gslin@gslin.org Subject: ports/101935: [PATCH] chinese/vflib: Respect DESTDIR, USE_LDCONFIG 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 19:00:42 -0000 >Number: 101935 >Category: ports >Synopsis: [PATCH] chinese/vflib: Respect DESTDIR, USE_LDCONFIG >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 19:00:37 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 - Specify and use DATADIR Generated with FreeBSD Port Tools 0.77 >How-To-Repeat: >Fix: --- vflib-2.25.1.patch begins here --- diff -ruN --exclude=CVS /usr/ports/chinese/vflib/Makefile /home/staff/gslin/work/ports/vflib/Makefile --- /usr/ports/chinese/vflib/Makefile Thu May 4 07:38:33 2006 +++ /home/staff/gslin/work/ports/vflib/Makefile Sun Aug 13 02:54:53 2006 @@ -26,13 +26,14 @@ VFLIB_VERSION= 2.25.1 PLIST_SUB= VFLIB_VERSION=${VFLIB_VERSION} +DATADIR= ${TARGETDIR}/share/VFlib GNU_CONFIGURE= yes +CONFIGURE_ARGS= --with-freetype \ + --with-freetype-includedir=${LOCALBASE}/include/freetype1/freetype \ + --with-freetype-libdir=${LOCALBASE}/lib USE_FREETYPE= yes +USE_LDCONFIG= yes USE_XLIB= yes -INSTALLS_SHLIB= yes -CONFIGURE_ARGS= --with-freetype \ - --with-freetype-includedir=${PREFIX}/include/freetype1/freetype \ - --with-freetype-libdir=${PREFIX}/lib .include @@ -44,13 +45,13 @@ pre-install: @(cd ${WRKSRC}/tools; \ - ${INSTALL_SCRIPT} fmtest disol kban vfperf vftest ${PREFIX}/bin) + ${INSTALL_SCRIPT} fmtest disol kban vfperf vftest ${TARGETDIR}/bin) @(cd ${WRKSRC}; \ - ${MKDIR} ${PREFIX}/share/VFlib/${VFLIB_VERSION} ;\ - ${CP} COPYING COPYING.LIB README.txt.JP_EUC \ - ${PREFIX}/share/VFlib/${VFLIB_VERSION}) + ${MKDIR} ${DATADIR}/${VFLIB_VERSION} ;\ + ${CP} COPYING COPYING.LIB README.txt.JP_EUC \ + ${DATADIR}/${VFLIB_VERSION}) post-install: - ${MV} ${PREFIX}/share/VFlib/${VFLIB_VERSION}/VF.h ${PREFIX}/include + ${MV} ${DATADIR}/${VFLIB_VERSION}/VF.h ${TARGETDIR}/include .include diff -ruN --exclude=CVS /usr/ports/chinese/vflib/pkg-plist /home/staff/gslin/work/ports/vflib/pkg-plist --- /usr/ports/chinese/vflib/pkg-plist Mon Dec 11 17:47:22 2000 +++ /home/staff/gslin/work/ports/vflib/pkg-plist Sun Aug 13 02:54:19 2006 @@ -1,3 +1,16 @@ +@comment $FreeBSD$ +%%DATADIR%%/%%VFLIB_VERSION%%/COPYING +%%DATADIR%%/%%VFLIB_VERSION%%/COPYING.LIB +%%DATADIR%%/%%VFLIB_VERSION%%/QA-english.tex +%%DATADIR%%/%%VFLIB_VERSION%%/QA.txt +%%DATADIR%%/%%VFLIB_VERSION%%/README.txt.JP_EUC +%%DATADIR%%/%%VFLIB_VERSION%%/man.dvi +%%DATADIR%%/%%VFLIB_VERSION%%/man.ps +%%DATADIR%%/%%VFLIB_VERSION%%/vfontcap +%%DATADIR%%/%%VFLIB_VERSION%%/vfontcap.ORG +%%DATADIR%%/%%VFLIB_VERSION%%/vfontcap.bdf +%%DATADIR%%/%%VFLIB_VERSION%%/vfontcap.comp2 +%%DATADIR%%/%%VFLIB_VERSION%%/vfontcap.mgp bin/VFlib2-config bin/bdfindex bin/disol @@ -10,20 +23,8 @@ bin/vftest include/VF.h lib/libVFlib2.so.24.1 +lib/libVFlib2.la @exec /bin/ln -fs %D/%F %D/lib/libVFlib2.so @unexec /bin/rm -f %D/lib/libVFlib2.so -lib/libVFlib2.la -share/VFlib/%%VFLIB_VERSION%%/README.txt.JP_EUC -share/VFlib/%%VFLIB_VERSION%%/COPYING.LIB -share/VFlib/%%VFLIB_VERSION%%/COPYING -share/VFlib/%%VFLIB_VERSION%%/vfontcap.mgp -share/VFlib/%%VFLIB_VERSION%%/vfontcap.comp2 -share/VFlib/%%VFLIB_VERSION%%/vfontcap.bdf -share/VFlib/%%VFLIB_VERSION%%/vfontcap.ORG -share/VFlib/%%VFLIB_VERSION%%/vfontcap -share/VFlib/%%VFLIB_VERSION%%/QA.txt -share/VFlib/%%VFLIB_VERSION%%/QA-english.tex -share/VFlib/%%VFLIB_VERSION%%/man.ps -share/VFlib/%%VFLIB_VERSION%%/man.dvi -@dirrm share/VFlib/%%VFLIB_VERSION%% -@dirrm share/VFlib +@dirrm %%DATADIR%%/%%VFLIB_VERSION%% +@dirrm %%DATADIR%% --- vflib-2.25.1.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted: