[PATCH] chinese/zh-BBMan: add USE_GCC=3.3 and unbreak
Yen-Ming Lee
leeym at FreeBSD.org
Thu Sep 30 13:10:50 PDT 2004
>Submitter-Id: current-users
>Originator: Yen-Ming Lee
>Organization: FreeBSD Taiwan
>Confidential: no
>Synopsis: [PATCH] chinese/zh-BBMan: add USE_GCC=3.3 and unbreak
>Severity: non-critical
>Priority: low
>Category: ports
>Class: change-request
>Release: FreeBSD 5.3-BETA4 i386
>Environment:
System: FreeBSD utopia.leeym.com 5.3-BETA4 FreeBSD 5.3-BETA4 #7: Mon Sep 13 05:12:30 CST 2004
>Description:
- add USE_GCC=3.3 and unbreak
- respect CXX and CFLAGS
- replace pkg-plist with PLIST_FILES
- update WWW in pkg-descr
- cosmetic fixes
Removed file(s):
- pkg-plist
Port maintainer (ports at freebsd.org) is cc'd.
Generated with FreeBSD Port Tools 0.63
>How-To-Repeat:
>Fix:
--- zh-BBMan-1.7.7.5.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/pcvs/ports/chinese/BBMan/Makefile,v
retrieving revision 1.2
diff -u -u -r1.2 Makefile
--- Makefile 30 Sep 2004 05:52:30 -0000 1.2
+++ Makefile 30 Sep 2004 20:09:00 -0000
@@ -9,8 +9,8 @@
PORTVERSION= 1.7.7.5
CATEGORIES= chinese net
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
-MASTER_SITE_SUBDIR= bbman
-DISTNAME= BBMan-src-v1-7-7-5
+MASTER_SITE_SUBDIR= ${PORTNAME:L}
+DISTNAME= ${PORTNAME}-src-v${PORTVERSION:S,.,-,g}
EXTRACT_SUFX= .zip
MAINTAINER= ports at freebsd.org
@@ -19,19 +19,16 @@
LIB_DEPENDS= wx_gtk2-2.4.0:${PORTSDIR}/x11-toolkits/wxgtk2
USE_ZIP= yes
-WRKSRC= ${WRKDIR}/BBMan
+WRKSRC= ${WRKDIR}/${PORTNAME}
USE_X_PREFIX= yes
+USE_GCC= 3.3
-.include <bsd.port.pre.mk>
-
-.if ${OSVERSION} >= 502126
-BROKEN= "Does not compile on FreeBSD >= 5.x"
-.endif
+PLIST_FULES= bin/BBMan
do-build:
- cd ${WRKSRC} && g++ main.cpp `wxgtk2-2.4-config --libs --cxxflags` -I${LOCALBASE}/include -O2 -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
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
Index: pkg-descr
===================================================================
RCS file: /home/pcvs/ports/chinese/BBMan/pkg-descr,v
retrieving revision 1.1
diff -u -u -r1.1 pkg-descr
--- pkg-descr 24 Aug 2004 06:31:11 -0000 1.1
+++ pkg-descr 30 Sep 2004 20:09:00 -0000
@@ -1,3 +1,3 @@
BBMam is a BBS client for X Window System.
-WWW: http://nccu.edu.tw/92753008/BBMan/
+WWW: http://bbman.sourceforge.net/
Index: pkg-plist
===================================================================
RCS file: pkg-plist
diff -N pkg-plist
--- pkg-plist 24 Aug 2004 06:31:11 -0000 1.1
+++ /dev/null 1 Jan 1970 00:00:00 -0000
@@ -1 +0,0 @@
-bin/BBMan
--- zh-BBMan-1.7.7.5.patch ends here ---
More information about the freebsd-ports
mailing list