Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 12 Aug 2006 17:12:29 +0800 (CST)
From:      Gea-Suan Lin <gslin@gslin.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        gslin@gslin.org
Subject:   ports/101895: [PATCH] chinese/BBMan: Respect DESTDIR and portlint fix
Message-ID:  <20060812091229.299453AD@netnews.NCTU.edu.tw>
Resent-Message-ID: <200608120920.k7C9KJHo092264@freefall.freebsd.org>

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

>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:



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