[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
CFLAGS problem
- To: ports_(_at_)_openbsd_(_dot_)_org
- Subject: CFLAGS problem
- From: "Michael H. Price II" <price_(_at_)_netdoor_(_dot_)_com>
- Date: Thu, 19 Oct 2000 15:09:33 -0500
I'm having problems compiling a few ports due to CFLAGS not being quoted
properly.
For example, a "make -n" in /usr/ports/textproc/agrep gives the following on
my machine:
echo "===> Building for agrep-2.04"
cd /usr/ports/textproc/agrep/work/agrep-2.04 && exec /usr/bin/env -i
PATH='/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11R6/bin'
PREFIX='/usr/local' LOCALBASE='/usr/local' X11BASE=/usr/X11R6 MOTIFLIB=''
CFLAGS='-O2 -fno-strength-reduce ' TRUEPREFIX='/usr/local' DESTDIR=''
EXTRA_SYS_MK_INCLUDES="<bsd.own.mk>" BSD_INSTALL_PROGRAM="install -c -s -o
root -g bin -m 555" BSD_INSTALL_SCRIPT="install -c -o root -g bin -m 555"
BSD_INSTALL_DATA="install -c -o root -g bin -m 444" BSD_INSTALL_MAN="install
-c -o root -g bin -m 444" BSD_INSTALL_PROGRAM_DIR="install -d -o root -g bin
-m 755" BSD_INSTALL_SCRIPT_DIR="install -d -o root -g bin -m 755"
BSD_INSTALL_DATA_DIR="install -d -o root -g bin -m 755"
BSD_INSTALL_MAN_DIR="install -d -o root -g bin -m 755" make CFLAGS=-O2
-fno-strength-reduce -f Makefile
touch -f /usr/ports/textproc/agrep/work/.build_done
Which results in the following error:
===> Building for agrep-2.04
make: cannot open no-strength-reduce.
*** Error code 2
Stop in /usr/ports/textproc/agrep (line 1628 of /usr/ports/infrastructure/mk/bsd.port.mk).
Michael
Visit your host, monkey.org