pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/41373: emulators/compat30 build fails on NetBSD 4.0_STABLE



>Number:         41373
>Category:       pkg
>Synopsis:       emulators/compat30 build fails on NetBSD 4.0_STABLE
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu May 07 01:50:00 +0000 2009
>Originator:     Takahiro Kambe
>Release:        NetBSD 4.0_STABLE
>Organization:
        
>Environment:
        
        
System: NetBSD calm.i.kisu.co.jp 4.0_STABLE NetBSD 4.0_STABLE (CALM) #78: Thu 
Apr 16 15:50:52 JST 2009 
sisbic-info%kisu.co.jp@localhost:/work/NetBSD-4/i386.obj/sys/arch/i386/compile/CALM
 i386
Architecture: i386
Machine: i386
>Description:
        emulators/compat30 build fails on NetBSD 4.0_STABLE, trying to
        build emulators/compat40 as a depended package.
>How-To-Repeat:
        Try to build emulators/compat30 on NetBSD 4.0_STABLE.

>Fix:
        emulators/compat30/Makefile restrict dependency to emulators/compat40
        but patterns for OS_VERSION don't match with 4.0_STABLE.

        Adding such a patch solve the problem and it might be applicable
        to other emulators/compat* packages for NetBSD.
        And I think there might be better fix.

Index: emulators/compat30/Makefile
===================================================================
RCS file: /cvs/pkgsrc/emulators/compat30/Makefile,v
retrieving revision 1.1.1.1.2.6
diff -u -r1.1.1.1.2.6 Makefile
--- emulators/compat30/Makefile 9 Jan 2008 01:52:47 -0000       1.1.1.1.2.6
+++ emulators/compat30/Makefile 7 May 2009 00:16:04 -0000
@@ -53,6 +53,7 @@
 # missing from compat30 on NetBSD>4.x.
 #
 .elif empty(OS_VERSION:M[0-3].*) && empty(OS_VERSION:M4.[0-9]) && \
+      empty(OS_VERSION:M4.[0-9]_STABLE) && \
       empty(OS_VERSION:M4.[0-9].*) && empty(OS_VERSION:M4.[1-8][0-9].*) && \
       empty(OS_VERSION:M4.9[0-8]*)
 DEPENDS+=      compat40>=4.0:../../emulators/compat40

>Unformatted:
        
        


Home | Main Index | Thread Index | Old Index