Subject: pkg/16413: patch to pkgsrc/lang/bwbasic/Makefile
To: None <gnats-bugs@gnats.netbsd.org>
From: Jan Schaumann <jschauma@dab.cs.stevens-tech.edu>
List: netbsd-bugs
Date: 04/19/2002 17:07:16
>Number: 16413
>Category: pkg
>Synopsis: patch to pkgsrc/lang/bwbasic/Makefile
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Fri Apr 19 14:08:01 PDT 2002
>Closed-Date:
>Last-Modified:
>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:
>Unformatted: