pkgsrc-Bugs archive

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

pkg/46708: lang/gcc-aux conditional in done incorrectly (+FIX)

>Number:         46708
>Category:       pkg
>Synopsis:       lang/gcc-aux conditional in done incorrectly 
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Jul 16 13:15:00 +0000 2012
>Originator:     Robert Elz
>Release:        NetBSD 5.1_STABLE   (pkgsrc current 2012-07-16)
        Prince of Songkla University
System: NetBSD 5.1_STABLE NetBSD 5.1_STABLE 
(JADE-1.12-20120130) #27: Tue Jan 31 05:20:31 ICT 2012 i386
Architecture: i386
Machine: i386
        The conditional added to lang/gcc-ada/ so that
        gettext-lib isn't unconditionally required was not done
        completely, reaslting in errors from make when the
        file gets used from other packages

        Try building something that uses it (like www/aws) and expect
        to see stuff like ...

make: "../../lang/gcc-aux/../../lang/gcc-aux/" line 16: Malformed 
conditional (!empty(PKG_BUILD_OPTIONS.gcc-aux:Mnls))
make: Fatal errors encountered -- cannot continue

        Apply the following diff (or something like it).
        [This is copied from similar stuff in lang/gcc46, so I am
        assuming it is the way it is supposed to be done].

RCS file: /cvsroot/NetBSD/pkgsrc/lang/gcc-aux/,v
retrieving revision 1.2
diff -u -r1.2
---       15 Jul 2012 11:50:53 -0000      1.2
+++       16 Jul 2012 13:02:58 -0000
@@ -13,6 +13,9 @@
 .include "../../math/mpfr/"
 .include "../../math/mpcomplex/"
+pkgbase := gcc-aux
+.include "../../mk/"
 .if !empty(PKG_BUILD_OPTIONS.gcc-aux:Mnls)
 .include "../../devel/gettext-lib/"

Home | Main Index | Thread Index | Old Index