Subject: pkg/4857: make clean on "pkgsrc/archivers" fails on non port-i386 systems
To: None <gnats-bugs@gnats.netbsd.org>
From: Matthias Scheler <tron@lyssa.owl.de>
List: netbsd-bugs
Date: 01/21/1998 22:19:06
>Number:         4857
>Category:       pkg
>Synopsis:       make clean on "pkgsrc/archivers" fails on non port-i386 systems
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    gnats-admin (GNATS administrator)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Jan 21 13:35:01 1998
>Last-Modified:
>Originator:     Matthias Scheler
>Organization:
Matthias Scheler                                http://home.owl.de/~tron/
>Release:        980121
>Environment:
NetBSD sandra 1.3 NetBSD 1.3 (SANDRA) #0: Fri Jan  2 02:14:13 MET 1998     tron@sandra:/src/src/sys/arch/amiga/compile/SANDRA amiga

>Description:
Doing a make clean in "/usr/pkgsrc/archivers" fails on non port-i386
systems due to the i386 only "rar" package:

tron@sandra:/usr/pkgsrc/archivers>make clean
===> arc
===>  Cleaning for arc-5.21e
===> bzip
===>  Cleaning for bzip-0.21
===> freeze
===>  Cleaning for freeze-2.5
===> ha
===>  Cleaning for ha-0.999b
===> lha
===>  Cleaning for lha-1.14c
===> rar
make: don't know how to make clean. Stop
*** Error code 2

Stop.

>How-To-Repeat:
cd /usr/pkgsrc/archivers
make clean

>Fix:
*** pkgsrc/archivers/Makefile.orig	Wed Nov 19 17:21:05 1997
--- pkgsrc/archivers/Makefile	Wed Jan 21 21:15:44 1998
***************
*** 11,17 ****
--- 11,19 ----
      SUBDIR += lha
  #    SUBDIR += nulib
  #    SUBDIR += p5-Compress-Zlib
+ .if (${MACHINE_ARCH} == "i386")
      SUBDIR += rar
+ .endif
      SUBDIR += unarj
      SUBDIR += unrar
      SUBDIR += unzip
>Audit-Trail:
>Unformatted: