ports/71851: [PATCH] misc/bb: unbreak
Yen-Ming Lee
leeym at FreeBSD.org
Sat Sep 18 06:50:19 UTC 2004
>Number: 71851
>Category: ports
>Synopsis: [PATCH] misc/bb: 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 06:50: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:
- remove unsupported declaration and unbreak it.
- re-indent
Generated with FreeBSD Port Tools 0.63
>How-To-Repeat:
>Fix:
--- bb-1.3.r1.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/pcvs/ports/misc/bb/Makefile,v
retrieving revision 1.16
diff -u -u -r1.16 Makefile
--- Makefile 17 Sep 2004 22:58:12 -0000 1.16
+++ Makefile 18 Sep 2004 06:43:33 -0000
@@ -5,35 +5,30 @@
# $FreeBSD: ports/misc/bb/Makefile,v 1.16 2004/09/17 22:58:12 kris Exp $
#
-PORTNAME= bb
-PORTVERSION= 1.3.r1
-CATEGORIES= misc
-MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
-MASTER_SITE_SUBDIR= aa-project
-DISTNAME= ${PORTNAME}-${PORTVERSION:S/.r/rc/}
+PORTNAME= bb
+PORTVERSION= 1.3.r1
+CATEGORIES= misc
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR=aa-project
+DISTNAME= ${PORTNAME}-${PORTVERSION:S/.r/rc/}
-MAINTAINER= ports at FreeBSD.org
+MAINTAINER= ports at FreeBSD.org
COMMENT= High quality audio-visual demonstration for text terminal
-LIB_DEPENDS= aa.1:${PORTSDIR}/graphics/aalib \
- mikmod.2:${PORTSDIR}/audio/libmikmod
+LIB_DEPENDS= aa.1:${PORTSDIR}/graphics/aalib \
+ mikmod.2:${PORTSDIR}/audio/libmikmod
-USE_REINPLACE= yes
-GNU_CONFIGURE= yes
-WRKSRC= ${WRKDIR}/bb-1.3.0
-MAN1= bb.1
-PORTDOCS= README
-PLIST_FILES= bin/bb share/bb/bb.s3m share/bb/bb2.s3m share/bb/bb3.s3m
-PLIST_DIRS= share/bb
-
-.include <bsd.port.pre.mk>
-
-.if ${OSVERSION} >= 502126
-BROKEN= "Does not compile on FreeBSD >= 5.x"
-.endif
+USE_REINPLACE= yes
+GNU_CONFIGURE= yes
+WRKSRC= ${WRKDIR}/bb-1.3.0
+MAN1= bb.1
+PORTDOCS= README
+PLIST_FILES= bin/bb share/bb/bb.s3m share/bb/bb2.s3m share/bb/bb3.s3m
+PLIST_DIRS= share/bb
pre-patch:
- @${FIND} ${WRKSRC} -type f | ${XARGS} ${REINPLACE_CMD} -E -e "s@#include +<malloc.h>@#include <stdlib.h>@g"
+ @${FIND} ${WRKSRC} -type f | ${XARGS} ${REINPLACE_CMD} -E -e "s@#include +<malloc.h>@#include <stdlib.h>@g" \
+ -e 's, REGISTERS \(3\),,g'
post-install:
.if !defined(NOPORTDOCS)
@@ -41,4 +36,4 @@
@${INSTALL_DATA} ${WRKSRC}/${PORTDOCS} ${DOCSDIR}
.endif
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
--- bb-1.3.r1.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list