Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 12 Aug 2006 17:17:54 +0800 (CST)
From:      Gea-Suan Lin <gslin@gslin.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        gslin@gslin.org, yinjieh@csie.nctu.edu.tw
Subject:   ports/101901: [PATCH] chinese/autoconvert: Respect DESTDIR, and use USE_LDCONFIG
Message-ID:  <20060812091754.88F303AD@netnews.NCTU.edu.tw>
Resent-Message-ID: <200608120920.k7C9KRH7092518@freefall.freebsd.org>

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

>Number:         101901
>Category:       ports
>Synopsis:       [PATCH] chinese/autoconvert: Respect DESTDIR, and use 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 09:20:27 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 (yinjieh@csie.nctu.edu.tw) is cc'd.

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

--- autoconvert-0.3.14.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/chinese/autoconvert/Makefile /home/staff/gslin/work/ports/autoconvert/Makefile
--- /usr/ports/chinese/autoconvert/Makefile	Thu Jul  6 10:25:39 2006
+++ /home/staff/gslin/work/ports/autoconvert/Makefile	Sat Aug 12 17:17:16 2006
@@ -13,10 +13,10 @@
 MAINTAINER=	yinjieh@csie.nctu.edu.tw
 COMMENT=	Intelligent Chinese encoding converter
 
-USE_GETOPT_LONG=	yes
+DATADIR=	${TARGETDIR}/share/${PKGNAMEPREFIX}${PORTNAME}
 MAKE_ENV=	CFLAG="${CPPFLAGS}" LIBS="${LDFLAGS}"
-INSTALLS_SHLIB=	yes
-DATADIR=	${PREFIX}/share/${PKGNAMEPREFIX}${PORTNAME}
+USE_GETOPT_LONG=	yes
+USE_LDCONFIG=	yes
 
 post-patch:
 	@${REINPLACE_CMD} -e "s|^CFLAGS|#CFLAGS|" \
diff -ruN --exclude=CVS /usr/ports/chinese/autoconvert/pkg-plist /home/staff/gslin/work/ports/autoconvert/pkg-plist
--- /usr/ports/chinese/autoconvert/pkg-plist	Thu May 15 11:18:25 2003
+++ /home/staff/gslin/work/ports/autoconvert/pkg-plist	Sat Aug 12 17:16:49 2006
@@ -1,3 +1,4 @@
+@comment $FreeBSD$
 bin/autob5
 bin/autogb
 include/hz.h
--- autoconvert-0.3.14.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?20060812091754.88F303AD>