Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 13 Feb 2013 11:08:44 +0100
From:      "O. Hartmann" <ohartman@zedat.fu-berlin.de>
To:        Ports FreeBSD <freebsd-ports@FreeBSD.org>,  "free >> Current FreeBSD" <freebsd-current@freebsd.org>
Subject:   ports include /etc/src.conf? i.e. graphics/libfpx
Message-ID:  <511B662C.7030602@zedat.fu-berlin.de>

next in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--------------enig398794A8B54B811708257031
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

Setting only base system source compiler optins in /etc/src.conf, for
instance

#
CXXFLAGS+=3D              -stdlib=3Dlibc++
CXXFLAGS+=3D              -std=3Dc++11


which do NOT appear in /etc/make.conf, make building port
grahpics/libfpx complaining about unrecognized compiler options.

As far a sI know, /etc/src.conf is ONLY for building the source tree of
the operating system and make.conf is supposed to contain all stuff
necessary for compiling both world and ports, but /etc/src.conf is world
only.

Am I wrong?

Oliver

=3D=3D=3D>   libfpx-1.3.1.1 depends on file: /usr/local/sbin/pkg - found
=3D=3D=3D>  Extracting for libfpx-1.3.1.1
=3D> SHA256 Checksum OK for libfpx-1.3.1-1.tar.xz.
=3D=3D=3D>  Patching for libfpx-1.3.1.1
=3D=3D=3D>  Applying FreeBSD patches for libfpx-1.3.1.1
/usr/bin/sed -i '' -e '/^#include "fpxlib-config.h"/d'
/usr/ports/graphics/libfpx/work/libfpx-1.3.1-1/basics/filename.cpp
/usr/ports/graphics/libfpx/work/libfpx-1.3.1-1/oless/h/owchar.h
/usr/ports/graphics/libfpx/work/libfpx-1.3.1-1/ole/gen_guid.cpp
/usr/ports/graphics/libfpx/work/libfpx-1.3.1-1/fpxlib.h
=3D=3D=3D>  Configuring for libfpx-1.3.1.1
=3D=3D=3D>   FreeBSD 10 autotools fix applied to
/usr/ports/graphics/libfpx/work/libfpx-1.3.1-1/configure
=3D=3D=3D>   FreeBSD 10 autotools fix applied to
/usr/ports/graphics/libfpx/work/libfpx-1.3.1-1/aclocal.m4
=3D=3D=3D>   FreeBSD 10 autotools fix applied to
/usr/ports/graphics/libfpx/work/libfpx-1.3.1-1/m4/libtool.m4
=3D=3D=3D>  Building for libfpx-1.3.1.1
Warning: Object directory not changed from original
/usr/ports/graphics/libfpx/work/libfpx-1.3.1-1
g++  -O2 -pipe -march=3Dnative -DHAVE_WCHAR_H -DHAVE_DLFCN_H
-DHAVE_SYS_TIME_H -DHAVE_SYS_PARAM_H -DHAVE_SYS_MOUNT_H -O3 -pipe
-march=3Dnative -fstack-protector -Werror -Wall -Wno-format-y2k -W
-Wno-unused-parameter -Wpointer-arith -Wno-uninitialized -fno-rtti
-fno-exceptions -fno-strict-aliasing -DHAVE_WCHAR_H -DHAVE_DLFCN_H
-DHAVE_SYS_TIME_H -DHAVE_SYS_PARAM_H -DHAVE_SYS_MOUNT_H
-I/usr/ports/graphics/libfpx/work/libfpx-1.3.1-1/oless/h
-I/usr/ports/graphics/libfpx/work/libfpx-1.3.1-1/jpeg
-I/usr/ports/graphics/libfpx/work/libfpx-1.3.1-1/ole
-I/usr/ports/graphics/libfpx/work/libfpx-1.3.1-1/basics
-I/usr/ports/graphics/libfpx/work/libfpx-1.3.1-1/ri_image
-I/usr/ports/graphics/libfpx/work/libfpx-1.3.1-1/oless
-I/usr/ports/graphics/libfpx/work/libfpx-1.3.1-1/fpx
-I/usr/ports/graphics/libfpx/work/libfpx-1.3.1-1/. -I/usr/local/include
-D_UNIX -stdlib=3Dlibc++ -std=3Dc++11 -c
/usr/ports/graphics/libfpx/work/libfpx-1.3.1-1/basics/geometry.cpp -o
geometry.o
cc1plus: error: unrecognized command line option "-stdlib=3Dlibc++"
cc1plus: error: unrecognized command line option "-std=3Dc++11"
*** [geometry.o] Error code 1

Stop in /usr/ports/graphics/libfpx/work/libfpx-1.3.1-1.
*** [do-build] Error code 1

Stop in /usr/ports/graphics/libfpx.


--------------enig398794A8B54B811708257031
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (FreeBSD)

iQEcBAEBAgAGBQJRG2YwAAoJEOgBcD7A/5N8aKwH/18QWADNxuqR/Ihpb6lg1JpV
WU0PFrbNnXUN4y+paAwD9SBDVovuwL/iVZI+6bSU2dHiQ0JMyVrClOXRFuvnaC+b
X96o59trDv5g//f8mOYgL+QPUXfn3oA/hQeoqIeVnP2WidGz+YUmB4KQ09bquyCm
WGF072pXi+/6ez9wQz0sym04WuCxcqig+gxSidhn+xR9NQGLHEPW+uZLvZ5bAZE0
AwELNxg/xZP0AtV70zV9f+jfaKhw1eDne15QHhXvruVuST1dxdsID8XJic10M0zn
k10NYxGKJ7E2K7HPJdPLQweg8AGQv1hwYnzP93LR4PyvoSJDAm1iBL+N+UvQaR8=
=xuoe
-----END PGP SIGNATURE-----

--------------enig398794A8B54B811708257031--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?511B662C.7030602>