Subject: pkg/30206: Invalid value in MakeFile of devel/tvision
To: None <,,>
From: Stephan Schroevers <>
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
  None, home user
>System: NetBSD disposition 2.0.2 NetBSD 2.0.2 (GENERIC) #0: Wed Mar 23
>01:40:44 UTC 2005
Architecture: sparc64
Machine: sparc64
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/" line 557: Malformed conditional (!empty(PATCHFILES:M*.bz2) && ${EXTRACT_SUFX} != ".tar.bz2")
  make: "../../mk/../../mk/" line 567: if-less endif
  make: "../../mk/../../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.
$ cd /usr/pkgsrc/devel/tvision
$ make
Unfortunately I don't know anything about creating packages and patches. I
have no time to get into that right now.