Date: Sun, 20 Mar 2005 03:32:45 +0000 From: Reinhard Lenninger <reinhard.lenninger@web.de> To: FreeBSD-gnats-submit@FreeBSD.org Cc: hrs@FreeBSD.org Subject: ports/79036: port sysutils/portbrowser, use correct INDEX Message-ID: <423CEEDD.7060307@web.de> Resent-Message-ID: <200503200240.j2K2e3hW076476@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 79036 >Category: ports >Synopsis: port sysutils/portbrowser, use correct INDEX >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: Sun Mar 20 02:40:03 GMT 2005 >Closed-Date: >Last-Modified: >Originator: Reinhard Lenninger >Release: FreeBSD 5.3-RELEASE-p5 i386 >Organization: >Environment: System: FreeBSD 5.3-RELEASE-p5 #0: Sun Jan 30 15:44:51 UTC 2005 toor@freebsd.megatron:/usr/obj/usr/src/sys/BEASTIE5_3 >Description: port sysutils/portbrowser (a gui frontend for the ports system) tries to use /usr/port/INDEX which is ok for FreeBSD 4.x but is not ok for FreeBSD 5.x. the following patch for sysutils/portbrowser/Makefile should fix this. >How-To-Repeat: >Fix: --- Makefile-patch begins here --- --- Makefile.orig Sat Mar 12 10:53:25 2005 +++ Makefile Sun Mar 20 03:04:18 2005 @@ -23,4 +23,16 @@ MAN1= pbrowser.1 -.include <bsd.port.mk> +USE_REINPLACE= yes + +.include <bsd.port.pre.mk> + +pre-build: +.if ${OSVERSION} >= 500036 + @${REINPLACE_CMD} "s/PORTS_DIR\"INDEX/PORTS_DIR\"INDEX-5/" ${WRKSRC}/src/pkgobject.h +.endif +.if ${OSVERSION} >= 600000 + @${REINPLACE_CMD} "s/PORTS_DIR\"INDEX/PORTS_DIR\"INDEX-6/" ${WRKSRC}/src/pkgobject.h +.endif + +.include <bsd.port.post.mk> --- Makefile-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?423CEEDD.7060307>