Subject: pkg/7519: finetuning packages (making use of system CFLAGS)
To: None <gnats-bugs@gnats.netbsd.org>
From: None <adam@albedo.com.pl>
List: netbsd-bugs
Date: 05/05/1999 03:05:50
>Number:         7519
>Category:       pkg
>Synopsis:       finetuning packages (making use of system CFLAGS)
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager (NetBSD software packages system bug manager)
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Wed May  5 03:05:00 1999
>Last-Modified:
>Originator:     Adam Ciarcinski
>Organization:
Albedo
>Release:        1.4_ALPHA-current
>Environment:
NetBSD pulstar 1.4_BETA NetBSD 1.4_BETA (ALBEDO) #0: Wed May  5 11:30:39 CEST 1999     root@pulstar:/usr/src/sys/arch/i386/compile/ALBEDO i386

>Description:
Please please change the folloing in pkgsrc source tree. These corrections
enable CFLAGS environment variable used in ../share/mk/sys.mk. Tested on
NetBSD-amiga and NetBSD-i386.

lang/tcl80/Makefile
        --enable-gcc
lang/tcl80/work/tcl80/unix/configure
        CFLAGS_OPTIMIZE="${CFLAGS}"

x11/tk80/Makefile
        --enable-gcc

x11/lesstif/Makefile
        CCFLAGS="${CFLAGS} -pipe"

databases/postgresql/makefile
        post-extract:
                ${ECHO} "CUSTOM_COPT=${CFLAGS}" >${WRKSRC}/Makefile.custom

graphics/Mesa/patches/patch-aa
        + "CFLAGS=${CFLAGS} -fPIC -D[...]

mail/cucipop/patches/patch-ad
        ! CFLAGS += # -DUSE_DB ${GCC[...]

x11/gtk/Makefile
        CFLAGS += -pipe

x11/fvwm95/work/fvwm-[...]/configure
        #CFLAGS=-O
        repatch patches/patch-af

games/lincity/work/lincity/Makefile
        CFLAGS += [...]
        repatch

devel/indent/work/makefile.in
        #CFLAGS = -O
        repatch

audio/rplay/Makefile
        CFLAGS += [...]

x11/qt/Makefile
        MAKE_ENV = CCFLAGS="${CFLAGS}" [...]
x11/qt/work/qt-1.42/configs/netbsd-g++-static
        change -O2 to ${CCFLAGS}
>How-To-Repeat:


>Fix:


>Audit-Trail:
>Unformatted: