Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 12 Aug 2006 18:05:18 +0800 (CST)
From:      Gea-Suan Lin <gslin@gslin.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        gslin@gslin.org
Subject:   ports/101909: [PATCH] chinese/wenju: Respect DESTDIR, portlint fix
Message-ID:  <20060812100518.651923AD@netnews.NCTU.edu.tw>
Resent-Message-ID: <200608121010.k7CAADTb098860@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         101909
>Category:       ports
>Synopsis:       [PATCH] chinese/wenju: Respect DESTDIR, portlint fix
>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 10:10:13 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
- portlint fix

Generated with FreeBSD Port Tools 0.77
>How-To-Repeat:
>Fix:

--- wenju-1.3_6.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/chinese/wenju/Makefile /home/staff/gslin/work/ports/wenju/Makefile
--- /usr/ports/chinese/wenju/Makefile	Thu Feb 23 18:34:55 2006
+++ /home/staff/gslin/work/ports/wenju/Makefile	Sat Aug 12 18:04:45 2006
@@ -15,11 +15,11 @@
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	Collection of writing tools in Chinese
 
+USE_AUTOTOOLS=	libtool:15
+USE_GETOPT_LONG=yes
 USE_GNOME=	gtk20
+USE_LDCONFIG=	yes
 USE_X_PREFIX=	yes
-INSTALLS_SHLIB=	yes
-USE_GETOPT_LONG=yes
-USE_AUTOTOOLS=	libtool:15
 
 .if !defined(WITHOUT_NLS)
 USE_GETTEXT=	yes
@@ -33,7 +33,7 @@
 .endif
 
 post-install:
-		gtk-query-immodules-2.0 > ${PREFIX}/etc/gtk-2.0/gtk.immodules
+		gtk-query-immodules-2.0 > ${TARGETDIR}/etc/gtk-2.0/gtk.immodules
 
 .include <bsd.port.pre.mk>
 
diff -ruN --exclude=CVS /usr/ports/chinese/wenju/pkg-plist /home/staff/gslin/work/ports/wenju/pkg-plist
--- /usr/ports/chinese/wenju/pkg-plist	Thu Feb 23 18:34:55 2006
+++ /home/staff/gslin/work/ports/wenju/pkg-plist	Sat Aug 12 18:04:14 2006
@@ -1,3 +1,4 @@
+@comment $FreeBSD$
 bin/tim-config
 bin/wrap
 lib/gtk-2.0/2.4.0/immodules/im-tim.a
--- wenju-1.3_6.patch ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060812100518.651923AD>