Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 10 Dec 1999 18:38:01 +0100 (CET)
From:      alex@big.endian.de
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/15406: audio/gogo depends on nasm >= 0.98 fix
Message-ID:  <199912101738.SAA02911@cichlids.cichlids.com>

next in thread | raw e-mail | index | archive | help

>Number:         15406
>Category:       ports
>Synopsis:       audio/gogo does not build with nasm < 0.98
>Confidential:   yes
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Dec 10 09:40:01 PST 1999
>Closed-Date:
>Last-Modified:
>Originator:     Alexander Langer
>Release:        FreeBSD 4.0-CURRENT i386
>Organization:
none
>Environment:

ports tree from tonight

>Description:

as discussed in the -ports mailing-list: audio/gogo does not build with
nasm versions < 0.98, but it does only check, if nasm is installed (which
is also the case for nasm 0.97 or older versions)

* fix nasm to install itself to ${PREFIX}/bin/nasm-0.98 (done
  by a ${MV} as post-install: target and link this back to ${PREFIX}/bin/nasm
* fix audio/gogo to depend on nasm-0.98

>How-To-Repeat:

use an older version of nasm, install audio/gogo (does not build)

>Fix:

diff -ru nasm.old/Makefile nasm/Makefile
--- nasm.old/Makefile	Fri Dec 10 18:28:00 1999
+++ nasm/Makefile	Fri Dec 10 18:30:29 1999
@@ -17,4 +17,8 @@
 
 MAN1=		nasm.1 ndisasm.1
 
+post-install:
+	@${MV} ${PREFIX}/bin/nasm ${PREFIX}/bin/nasm-0.98
+	@${LN} -s ${PREFIX}/bin/nasm-0.98 ${PREFIX}/bin/nasm
+
 .include <bsd.port.mk>
diff -ru nasm.old/pkg/PLIST nasm/pkg/PLIST
--- nasm.old/pkg/PLIST	Fri Dec 10 18:27:52 1999
+++ nasm/pkg/PLIST	Fri Dec 10 18:28:48 1999
@@ -1,2 +1,3 @@
 bin/nasm
+bin/nasm-0.98
 bin/ndisasm
diff -ru nasm.old/work/.PLIST.mktmp nasm/work/.PLIST.mktmp
--- nasm.old/work/.PLIST.mktmp	Fri Dec 10 18:28:00 1999
+++ nasm/work/.PLIST.mktmp	Fri Dec 10 18:31:08 1999
@@ -1,4 +1,5 @@
 man/man1/nasm.1.gz
 man/man1/ndisasm.1.gz
 bin/nasm
+bin/nasm-0.98
 bin/ndisasm

and in audio/gogo:

--- Makefile.old	Fri Dec 10 18:36:39 1999
+++ Makefile	Fri Dec 10 18:31:44 1999
@@ -14,7 +14,7 @@
 MAINTAINER=	nakai@FreeBSD.org
 
 # More than version 0.98
-BUILD_DEPENDS=	nasm:${PORTSDIR}/devel/nasm
+BUILD_DEPENDS=	nasm-0.98:${PORTSDIR}/devel/nasm
 
 USE_GMAKE=	yes
 MAKEFILE=	makefile.unx

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


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199912101738.SAA02911>