ports/101904: [PATCH] chinese/big5fs: Respect DESTDIR, portlint fix

Gea-Suan Lin gslin at gslin.org
Sat Aug 12 09:30:19 UTC 2006


>Number:         101904
>Category:       ports
>Synopsis:       [PATCH] chinese/big5fs: 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 09:30:16 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:

--- big5fs-2.3.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/chinese/big5fs/Makefile /home/staff/gslin/work/ports/big5fs/Makefile
--- /usr/ports/chinese/big5fs/Makefile	Thu May  4 07:38:31 2006
+++ /home/staff/gslin/work/ports/big5fs/Makefile	Sat Aug 12 17:29:18 2006
@@ -13,10 +13,10 @@
 MAINTAINER=	ports at FreeBSD.org
 COMMENT=	Reads Big5 filenames on Joliet, VFAT and NTFS filesystems
 
-NO_PACKAGE=	"Different versions definitely cause crash"
+NO_PACKAGE=	Different versions definitely cause crash
 
-SYSDIR=		/usr/src/sys
-KMODDIR=	${PREFIX}/modules
+SYSDIR=		${DESTDIR}/usr/src/sys
+KMODDIR=	${TARGETDIR}/modules
 PLIST_SUB=	MSDOSFSKO=${MSDOSFSKO}
 NO_WRKSUBDIR=	yes
 
@@ -39,7 +39,7 @@
 .endif
 
 .if !exists (${SYSDIR})
-IGNORE=	"You need to extract kernel source tree before you build this package"
+IGNORE=		need to extract kernel source tree before you build this package
 .endif
 
 do-extract:
@@ -67,7 +67,7 @@
 
 do-install:
 	@${MKDIR} ${KMODDIR}
-	@${INSTALL_SCRIPT} ${FILESDIR}/big5fs.sh ${PREFIX}/etc/rc.d
+	@${INSTALL_SCRIPT} ${FILESDIR}/big5fs.sh ${TARGETDIR}/etc/rc.d
 	@${INSTALL_SCRIPT} ${WRKSRC}/*/*.ko ${KMODDIR}
 
 .include <bsd.port.post.mk>
diff -ruN --exclude=CVS /usr/ports/chinese/big5fs/pkg-plist /home/staff/gslin/work/ports/big5fs/pkg-plist
--- /usr/ports/chinese/big5fs/pkg-plist	Sun Jan 22 08:22:47 2006
+++ /home/staff/gslin/work/ports/big5fs/pkg-plist	Sat Aug 12 17:28:05 2006
@@ -1,3 +1,4 @@
+ at comment $FreeBSD$
 etc/rc.d/big5fs.sh
 modules/cd9660.ko
 modules/%%MSDOSFSKO%%
--- big5fs-2.3.patch ends here ---

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



More information about the freebsd-ports-bugs mailing list