Subject: pkg/30206: Invalid value in MakeFile of devel/tvision
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: Stephan Schroevers <sschroev@science.uva.nl>
List: pkgsrc-bugs
Date: 05/11/2005 21:29:00
>Number:         30206
>Category:       pkg
>Synopsis:       ${PATCHFILES} in devel/tvision MakeFile not accepted
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed May 11 21:29:00 +0000 2005
>Originator:     Stephan Schroevers
>Release:        NetBSD 2.0.2
>Organization:
  None, home user
>Environment:
>System: NetBSD disposition 2.0.2 NetBSD 2.0.2 (GENERIC) #0: Wed Mar 23
>01:40:44 UTC 2005
>builds@works.netbsd.org:/home/builds/ab/netbsd-2-0-2-RELEASE/sparc64/200503220140Z-obj/home/builds/ab/netbsd-2-0-2-RELEASE/src/sys/arch/sparc64/compile/GENERIC
>sparc64
Architecture: sparc64
Machine: sparc64
>Description:
The variable ${PATCHFILES} in the Turbo Vision Makefile is set to
'tvision-0.8-freebsd-patches-20040910.diff.bz2', but this is not accepted by
the global pkg Makefile:

  [stephan@disposition][/usr/pkgsrc/devel/tvision]$ make
  make: "../../mk/../../mk/bsd.pkg.mk" line 557: Malformed conditional (!empty(PATCHFILES:M*.bz2) && ${EXTRACT_SUFX} != ".tar.bz2")
  make: "../../mk/../../mk/bsd.pkg.mk" line 567: if-less endif
  make: "../../mk/../../mk/bsd.pkg.mk" line 567: Need an operator
  make: Fatal errors encountered -- cannot continue

  make: stopped in /usr/pkgsrc/devel/tvision

I noticed this when doing `make distclean` in /usr/pkgsrc/devel. I know
nothing about the devel/tvision itself.
>How-To-Repeat:
$ cd /usr/pkgsrc/devel/tvision
$ make
>Fix:
Unfortunately I don't know anything about creating packages and patches. I
have no time to get into that right now.