Date: Sat, 18 Sep 2004 15:01:02 +0800 (CST) From: Yen-Ming Lee <leeym@FreeBSD.org> To: FreeBSD-gnats-submit@FreeBSD.org Cc: ejc@crackpot.org Subject: ports/71852: [PATCH] sysutils/bbsmount: add USE_GCC=2.95 and unbreak Message-ID: <20040918070102.389B13E9CDE@utopia.leeym.com> Resent-Message-ID: <200409180710.i8I7AIvJ042058@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 71852 >Category: ports >Synopsis: [PATCH] sysutils/bbsmount: add USE_GCC=2.95 and unbreak >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 Sep 18 07:10:18 GMT 2004 >Closed-Date: >Last-Modified: >Originator: Yen-Ming Lee >Release: FreeBSD 5.3-BETA4 i386 >Organization: FreeBSD Taiwan >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=2.95 and unbreak this port - utilize PORTDOCS and DATADIR Port maintainer (ejc@crackpot.org) is cc'd. Generated with FreeBSD Port Tools 0.63 >How-To-Repeat: >Fix: --- bbsmount-0.3.0p3.patch begins here --- Index: Makefile =================================================================== RCS file: /home/pcvs/ports/sysutils/bbsmount/Makefile,v retrieving revision 1.4 diff -u -u -r1.4 Makefile --- Makefile 17 Sep 2004 22:58:46 -0000 1.4 +++ Makefile 18 Sep 2004 06:59:48 -0000 @@ -19,6 +19,8 @@ USE_XLIB= yes USE_REINPLACE= yes GNU_CONFIGURE= yes +USE_GCC= 2.95 +PORTDOCS= README BUGS NEWS AUTHORS ChangeLog .include <bsd.port.pre.mk> @@ -28,17 +30,17 @@ post-patch: @${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g' \ - ${WRKSRC}/configure + ${WRKSRC}/${CONFIGURE_SCRIPT} post-install: @${ECHO_MSG} "===> Installing documentation" +.if !defined(NOPORTDOCS) @${MKDIR} ${DOCSDIR} @${INSTALL} ${WRKSRC}/data/README.bbsmount ${DOCSDIR} - -.for a in README BUGS NEWS AUTHORS ChangeLog +.for a in ${PORTDOCS} @${INSTALL} ${WRKSRC}/${a} ${DOCSDIR} .endfor - +.endif if [ ! -e ${PREFIX}/share/bbtools/bbsmount.bb ]; then \ ${CP} -p ${WRKSRC}/data/bbsmount.bb \ ${PREFIX}/share/bbtools/bbsmount.bb; \ Index: pkg-plist =================================================================== RCS file: /home/pcvs/ports/sysutils/bbsmount/pkg-plist,v retrieving revision 1.2 diff -u -u -r1.2 pkg-plist --- pkg-plist 26 Mar 2004 16:58:13 -0000 1.2 +++ pkg-plist 18 Sep 2004 06:59:48 -0000 @@ -5,24 +5,17 @@ share/bbtools/bbsmount.nobb share/bbtools/bbsmount.style share/bbtools/README.bbsmount -share/bbsmount/examples/bbsmount.bb.ex -share/bbsmount/images/notfound.xpm -share/bbsmount/images/mountedcd.xpm -share/bbsmount/images/mounteddisk.xpm -share/bbsmount/images/mounted.xpm -share/bbsmount/images/mountedzip.xpm -share/bbsmount/images/unmountedcd.xpm -share/bbsmount/images/unmounteddisk.xpm -share/bbsmount/images/unmounted.xpm -share/bbsmount/images/unmountedzip.xpm -%%PORTDOCS%%%%DOCSDIR%%/BUGS -%%PORTDOCS%%%%DOCSDIR%%/NEWS -%%PORTDOCS%%%%DOCSDIR%%/README -%%PORTDOCS%%%%DOCSDIR%%/README.bbsmount -%%PORTDOCS%%%%DOCSDIR%%/AUTHORS -%%PORTDOCS%%%%DOCSDIR%%/ChangeLog -%%PORTDOCS%%@dirrm %%DOCSDIR%% +%%DATADIR%%/examples/bbsmount.bb.ex +%%DATADIR%%/images/notfound.xpm +%%DATADIR%%/images/mountedcd.xpm +%%DATADIR%%/images/mounteddisk.xpm +%%DATADIR%%/images/mounted.xpm +%%DATADIR%%/images/mountedzip.xpm +%%DATADIR%%/images/unmountedcd.xpm +%%DATADIR%%/images/unmounteddisk.xpm +%%DATADIR%%/images/unmounted.xpm +%%DATADIR%%/images/unmountedzip.xpm @unexec rmdir %D/share/bbtools 2>/dev/null || true -@unexec rmdir %D/share/bbsmount/examples 2>/dev/null || true -@unexec rmdir %D/share/bbsmount/images 2>/dev/null || true -@unexec rmdir %D/share/bbsmount 2>/dev/null || true +@unexec rmdir %D/%%DATADIR%%/examples 2>/dev/null || true +@unexec rmdir %D/%%DATADIR%%/images 2>/dev/null || true +@unexec rmdir %D/%%DATADIR%% 2>/dev/null || true --- bbsmount-0.3.0p3.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?20040918070102.389B13E9CDE>