NetBSD Problem Report #16413

Received: (qmail 8662 invoked from network); 19 Apr 2002 21:07:22 -0000
Message-Id: <200204192107.g3JL7Gg27075@dab.cs.stevens-tech.edu>
Date: Fri, 19 Apr 2002 17:07:16 -0400 (EDT)
From: Jan Schaumann <jschauma@dab.cs.stevens-tech.edu>
Reply-To: jschauma@dab.cs.stevens-tech.edu
To: gnats-bugs@gnats.netbsd.org
Subject: patch to pkgsrc/lang/bwbasic/Makefile
X-Send-Pr-Version: 3.95

>Number:         16413
>Category:       pkg
>Synopsis:       patch to pkgsrc/lang/bwbasic/Makefile
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Apr 19 21:08:01 +0000 2002
>Closed-Date:    Mon May 20 10:41:03 +0000 2002
>Last-Modified:  Mon May 20 10:41:03 +0000 2002
>Originator:     Jan Schaumann <jschauma@netbsd.org>
>Release:        NetBSD 1.5ZC (20010410)
>Organization:
>Environment:


System: NetBSD dab.cs.stevens-tech.edu 1.5ZC NetBSD 1.5ZC (BOCK) #0: Thu Apr 18 10:55:09 EDT 2002 jschauma@dab:/usr/src/sys/arch/i386/compile/BOCK i386
Architecture: i386
Machine: i386
>Description:
	It seems that the maintainers of bwbasic have re-arranged their
	packages a bit that seem to make our job easier.  The current
	pkgsrc/lang/bwbasic/Makefile does not compile the program as
	a result, as it tries to deal with (formerly?) complicated
	files.
>How-To-Repeat:
	cd /usr/pkgsrc/lang/bwbasic
	make
>Fix:


--- bwbasic/Makefile.orig       Fri Apr 19 16:58:25 2002
+++ bwbasic/Makefile    Fri Apr 19 16:59:58 2002
@@ -1,33 +1,19 @@
 # $NetBSD: Makefile,v 1.2 2001/02/17 09:06:59 agc Exp $

-DISTNAME=      bwbasic-2.20
+PKGNAME=       bwbasic-2.20
+DISTNAME=      ${PKGNAME}p2
 CATEGORIES=    lang
 MASTER_SITES=  ftp://ftp.rahul.net/pub/rhn/
-DISTFILES=     bwbasic-2.20.tar.Z \
-               bwb-2.20-patch01.tar.Z.uu.txt bwb-2.20-patch02.tar.Z.uu.txt
+DISTFILES=     ${PKGNAME}.tar.Z

 MAINTAINER=    jspath@bcpl.net
 COMMENT=       The Bywater Basic interpreter

 GNU_CONFIGURE= yes
-EXTRACT_ONLY=  bwbasic-2.20.tar.Z

-# The patches come in a totally bizarre format; we have to
-# uudecode them, unpack the resulting tarfile, and then replace
-# some of the original files.
-# Make a manual page from the doc file.
+WRKSRC=        ${WRKDIR}/${DISTNAME}/${PKGNAME}

 pre-patch:
-       ${MKDIR} ${WRKSRC}/tmp
-       cd ${WRKSRC}/tmp ; \
-       uudecode ${DISTDIR}/bwb-2.20-patch01.tar.Z.uu.txt ; \
-       ${GTAR} -xzf bwb-2.20-patch01.tar.Z ; \
-       ${MV} bwb-2.20-patch01/* ${WRKSRC}
-       cd ${WRKSRC}/tmp ; \
-       uudecode ${DISTDIR}/bwb-2.20-patch02.tar.Z.uu.txt ; \
-       ${GTAR} -xzf bwb-2.20-patch02.tar.Z ; \
-       ${MV} bwb-2.20-patch02/* ${WRKSRC}
-       ${RM} -rf ${WRKSRC}/tmp
        ${CP} -pf ${WRKSRC}/bwbasic.doc ${WRKSRC}/bwbasic.1

 post-install:

>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: wiz 
State-Changed-When: Mon May 20 03:40:38 PDT 2002 
State-Changed-Why:  
Fixed, and cleaned up the package a bit. 
Thanks for the PR! 
>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.