Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 21 Dec 2003 15:20:19 -0600
From:      Larry Rosenman <ler@lerctr.org>
To:        freebsd-ports@freebsd.org
Subject:   x11-fonts/ttmkfdir: gnugetopt conflict?
Message-ID:  <286850000.1072041619@lerlaptop.lerctr.org>

next in thread | raw e-mail | index | archive | help
--==========5B9585F1894BE201796B==========
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

Trying to upgrade all my ports and ttmkfdir dies:

=3D=3D=3D>  Cleaning for libiconv-1.9.1_3
=3D=3D=3D>  Cleaning for gettext-0.12.1
=3D=3D=3D>  Cleaning for gmake-3.80_1
=3D=3D=3D>  Cleaning for imake-4.3.0_2
=3D=3D=3D>  Cleaning for libtool-1.3.5_1
=3D=3D=3D>  Cleaning for pkgconfig-0.15.0
=3D=3D=3D>  Cleaning for perl-5.8.2_2
=3D=3D=3D>  Cleaning for freetype2-2.1.5_1
=3D=3D=3D>  Cleaning for expat-1.95.6_1
=3D=3D=3D>  Cleaning for fontconfig-2.2.90_3
=3D=3D=3D>  Cleaning for XFree86-libraries-4.3.0_6
=3D=3D=3D>  Cleaning for ttmkfdir-20021109
=3D=3D=3D>  Extracting for ttmkfdir-20021109
>> Checksum OK for ttmkfdir2.tar.bz2.
=3D=3D=3D>  Patching for ttmkfdir-20021109
=3D=3D=3D>  Applying FreeBSD patches for ttmkfdir-20021109
=3D=3D=3D>   ttmkfdir-20021109 depends on executable: libtool13 - found
=3D=3D=3D>   ttmkfdir-20021109 depends on executable: gmake - found
=3D=3D=3D>   ttmkfdir-20021109 depends on shared library: freetype.9 - =
found
=3D=3D=3D>   ttmkfdir-20021109 depends on shared library: X11.6 - found
=3D=3D=3D>  Configuring for ttmkfdir-20021109
=3D=3D=3D>  Building for ttmkfdir-20021109
libtool13 --mode=3Dcompile g++ -O -pipe -mcpu=3Dpentiumpro `freetype-config =

--cflags` -o ttmkfdir.o -c ttmkfdir.cpp
rm -f .libs/ttmkfdir.lo
g++ -O -pipe -mcpu=3Dpentiumpro -I/usr/local/include/freetype2=20
-I/usr/local/include -c ttmkfdir.cpp  -fPIC -DPIC -o .libs/ttmkfdir.lo
g++ -O -pipe -mcpu=3Dpentiumpro -I/usr/local/include/freetype2=20
-I/usr/local/include -c ttmkfdir.cpp -o ttmkfdir.o >/dev/null 2>&1
mv -f .libs/ttmkfdir.lo ttmkfdir.lo
libtool13 --mode=3Dcompile g++ -O -pipe -mcpu=3Dpentiumpro `freetype-config =

--cflags` -o directory.o -c directory.cpp
rm -f .libs/directory.lo
g++ -O -pipe -mcpu=3Dpentiumpro -I/usr/local/include/freetype2=20
-I/usr/local/include -c directory.cpp  -fPIC -DPIC -o .libs/directory.lo
g++ -O -pipe -mcpu=3Dpentiumpro -I/usr/local/include/freetype2=20
-I/usr/local/include -c directory.cpp -o directory.o >/dev/null 2>&1
mv -f .libs/directory.lo directory.lo
libtool13 --mode=3Dcompile g++ -O -pipe -mcpu=3Dpentiumpro `freetype-config =

--cflags` -o commandline.o -c commandline.cpp
rm -f .libs/commandline.lo
g++ -O -pipe -mcpu=3Dpentiumpro -I/usr/local/include/freetype2=20
-I/usr/local/include -c commandline.cpp  -fPIC -DPIC -o =
.libs/commandline.lo
In file included from /usr/include/c++/3.3/bits/gthr-default.h:38,
                 from /usr/include/c++/3.3/bits/gthr.h:98,
                 from /usr/include/c++/3.3/bits/c++io.h:37,
                 from /usr/include/c++/3.3/bits/fpos.h:44,
                 from /usr/include/c++/3.3/bits/char_traits.h:46,
                 from /usr/include/c++/3.3/string:47,
                 from commandline.h:5,
                 from commandline.cpp:6:
/usr/include/unistd.h:374: error: declaration of C function `int=20
getopt(int,
   char* const*, const char*)' conflicts with
/usr/local/include/getopt.h:115: error: previous declaration `int getopt()'
   here
gmake: *** [commandline.o] Error 1
*** Error code 2

Stop in /shared/ports/x11-fonts/ttmkfdir.

Everything else is current.

Ideas?




--=20
Larry Rosenman                     http://www.lerctr.org/~ler
Phone: +1 972-414-9812                 E-Mail: ler@lerctr.org
US Mail: 1905 Steamboat Springs Drive, Garland, TX 75044-6749

--==========5B9585F1894BE201796B==========
Content-Type: application/pgp-signature
Content-Transfer-Encoding: 7bit

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (FreeBSD)

iD8DBQE/5g6UrRNGhTxJvdYRArfCAJ9cSBdG2IEKj8eTWt0lQwAeRmXbKwCfQHt2
TdChvRPERB+ChuMUN7Qi+Ww=
=jqP6
-----END PGP SIGNATURE-----

--==========5B9585F1894BE201796B==========--



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