ports/101895: [PATCH] chinese/BBMan: Respect DESTDIR and portlint fix

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


>Number:         101895
>Category:       ports
>Synopsis:       [PATCH] chinese/BBMan: Respect DESTDIR and 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:20: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:

--- BBMan-1.7.7.5_3.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/chinese/BBMan/Makefile /home/staff/gslin/work/ports/BBMan/Makefile
--- /usr/ports/chinese/BBMan/Makefile	Thu Dec  1 16:34:57 2005
+++ /home/staff/gslin/work/ports/BBMan/Makefile	Sat Aug 12 17:12:01 2006
@@ -18,9 +18,9 @@
 
 LIB_DEPENDS=	wx_gtk2-2.4.0:${PORTSDIR}/x11-toolkits/wxgtk24
 
-USE_ZIP=	yes
 WRKSRC=		${WRKDIR}/${PORTNAME}
 USE_X_PREFIX=	yes
+USE_ZIP=	yes
 
 PLIST_FILES=	bin/BBMan
 
@@ -31,13 +31,13 @@
 .endif
 
 .if ${ARCH} == ia64
-BROKEN=		"Hard-codes reference to libc_r"
+BROKEN=		Hard-codes reference to libc_r
 .endif
 
 do-build:
-		cd ${WRKSRC} && ${CXX} main.cpp `wxgtk2-2.4-config --libs --cxxflags` -I${LOCALBASE}/include ${CFLAGS} -o BBMan
+	cd ${WRKSRC} && ${CXX} main.cpp `wxgtk2-2.4-config --libs --cxxflags` -I${LOCALBASE}/include ${CFLAGS} -o BBMan
 
 do-install:
-		${INSTALL_PROGRAM} ${WRKSRC}/BBMan ${PREFIX}/bin/BBMan
+	${INSTALL_PROGRAM} ${WRKSRC}/BBMan ${TARGETDIR}/bin/BBMan
 
 .include <bsd.port.post.mk>
--- BBMan-1.7.7.5_3.patch ends here ---

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



More information about the freebsd-ports-bugs mailing list