ports/143667: [patch] ignore building ports-mgmt/portbrowser under * =! FreeBSD 5

Alexander Best alexbestms at wwu.de
Mon Feb 8 11:30:06 UTC 2010


>Number:         143667
>Category:       ports
>Synopsis:       [patch] ignore building ports-mgmt/portbrowser under * =! FreeBSD 5
>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:   Mon Feb 08 11:30:06 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     Alexander Best
>Release:        9.0-CURRENT
>Organization:
>Environment:
FreeBSD otaku 9.0-CURRENT FreeBSD 9.0-CURRENT #14 r203556M: Sun Feb  7 16:32:35 CET 2010     root at otaku:/usr/obj/usr/src/sys/ARUNDEL  amd64
>Description:
ports-mgmt/portbrowser doesn't work on * =! FreeBSD5.

cheers.
alex
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

diff -ruN /usr/ports/ports-mgmt/portbrowser/Makefile portbrowser/Makefile
--- /usr/ports/ports-mgmt/portbrowser/Makefile	2009-12-29 11:25:53.000000000 +0100
+++ portbrowser/Makefile	2010-02-08 03:03:17.000000000 +0100
@@ -6,7 +6,7 @@
 
 PORTNAME=	portbrowser
 PORTVERSION=	0.5.20050618
-PORTREVISION=	3
+PORTREVISION=	4
 CATEGORIES=	ports-mgmt
 MASTER_SITES=	${MASTER_SITE_LOCAL}
 MASTER_SITE_SUBDIR=	hrs
@@ -17,10 +17,16 @@
 COMMENT=	Graphical frontend for the BSD ports system
 
 USE_GNOME=	gtk20
+.include <bsd.port.pre.mk>
+
+.if ${OSREL} < 5 || ${OSREL} > 5
+IGNORE=		is limited to FreeBSD 5
+.endif
+
 MAKE_ENV=	MANDIR=${PREFIX}/man/man \
 		BINDIR=${PREFIX}/bin \
 		NO_MANCOMPRESS=YES
-CFLAGS+= 	-DINDEXFILE=\\\"${PORTSDIR}/${INDEXFILE}\\\" \
+CFLAGS+=	-DINDEXFILE=\\\"${PORTSDIR}/${INDEXFILE}\\\" \
 		-DPORTS_DIR=\\\"${PORTSDIR}\\\"
 PLIST_FILES=	bin/pbrowser
 
@@ -30,4 +36,4 @@
 	@${REINPLACE_CMD} 's|gram-obsd.y|gram-fbsd.y|' \
 		${WRKSRC}/src/Makefile
 
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>


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



More information about the freebsd-ports-bugs mailing list