ports/101901: [PATCH] chinese/autoconvert: Respect DESTDIR, and use USE_LDCONFIG

Gea-Suan Lin gslin at gslin.org
Sat Aug 12 09:20:29 UTC 2006


>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 at 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 at 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 @@
+ at comment $FreeBSD$
 bin/autob5
 bin/autogb
 include/hz.h
--- autoconvert-0.3.14.patch ends here ---

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



More information about the freebsd-ports-bugs mailing list