pkgsrc-Bugs archive

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

pkg/30144: USE_LANGUAGES has always defined 'c'



>Number:         30144
>Category:       pkg
>Synopsis:       USE_LANGUAGES has always defined 'c'
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu May 05 18:13:00 +0000 2005
>Originator:     Juan RP
>Release:        NetBSD 3.99.3
>Organization:
>Environment:
System: NetBSD Nocturno 3.99.3 NetBSD 3.99.3 (Nocturno) #22: Thu May 5 04:51:13 
CEST 2005 juan@Nocturno:/home/juan/build/obj/sys/arch/i386/compile/Nocturno i386
Architecture: i386
Machine: i386
>Description:

        This code on pkgsrc/mk/compiler.mk ignores the empty
        value from USE_LANGUAGES:

# Always require a C compiler for proper compiler detection.
USE_LANGUAGES?= c
.if empty(USE_LANGUAGES:Mc)
USE_LANGUAGES:= c ${USE_LANGUAGES}
.endif

        The compiler wrappers for the 'c' language are always
        created even with USE_LANGUAGES empty.

        Not really a problem on modern computers, but maybe
        in slow architectures this might be slow.

>How-To-Repeat:
>Fix:




Home | Main Index | Thread Index | Old Index