diff options
author | dsainty <dsainty@pkgsrc.org> | 2009-01-08 08:42:41 +0000 |
---|---|---|
committer | dsainty <dsainty@pkgsrc.org> | 2009-01-08 08:42:41 +0000 |
commit | 93843d295d81a2eddc956c95299ca04d9f587d2f (patch) | |
tree | aa048c9c15f36d1438dc0216d3a0c80f85bb768a /devel | |
parent | acd26025d23939881242d500ecdf240a9a313bbd (diff) | |
download | pkgsrc-93843d295d81a2eddc956c95299ca04d9f587d2f.tar.gz |
Make sure that the libraries are linked with libiconv if necessary, to avoid
the build failing like so (on Linux systems):
g++ -fexceptions -funsigned-char -fPIC -Wno-multichar -Wno-implicit -Wno-ctor-dtor-privacy -O2 -I/tmp/pkgsrc1/devel/exempi/work/.buildlink/include -Wl,-R/usr/pkgroot1/lib -o xmpfilescoverage XMPFilesCoverage.o -L/tmp/pkgsrc1/devel/exempi/work/.buildlink/lib ../../source/XMPCore/.libs/libXMPCore.a ../../source/XMPFiles/.libs/libXMPFiles.a ../../source/common/.libs/libxmpcommon.a /tmp/pkgsrc1/devel/exempi/work/.buildlink/lib/libexpat.so ../../third-party/MD5/.libs/libmd5.a -Wl,--rpath -Wl,/tmp/pkgsrc1/devel/exempi/work/.buildlink/lib -Wl,--rpath -Wl,/tmp/pkgsrc1/devel/exempi/work/.buildlink/lib
../../source/XMPFiles/.libs/libXMPFiles.a(Reconcile_Impl.o): In function `ReconcileUtils::Latin1ToUTF8(void const*, unsigned int, std::basic_string<char, std::char_traits<char>, std::allocator<char> >*)':
Reconcile_Impl.cpp:(.text+0x1a1): undefined reference to `libiconv_open'
Reconcile_Impl.cpp:(.text+0x1f0): undefined reference to `libiconv'
Reconcile_Impl.cpp:(.text+0x1fb): undefined reference to `libiconv_close'
../../source/XMPFiles/.libs/libXMPFiles.a(Reconcile_Impl.o): In function `ReconcileUtils::UTF8ToLatin1(void const*, unsigned int, std::basic_string<char, std::char_traits<char>, std::allocator<char> >*)':
Reconcile_Impl.cpp:(.text+0x341): undefined reference to `libiconv_open'
Reconcile_Impl.cpp:(.text+0x390): undefined reference to `libiconv'
Reconcile_Impl.cpp:(.text+0x39b): undefined reference to `libiconv_close'
collect2: ld returned 1 exit status
*** Error code 1
Diffstat (limited to 'devel')
-rw-r--r-- | devel/exempi/Makefile | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/devel/exempi/Makefile b/devel/exempi/Makefile index afb28679b93..7fad647f9ac 100644 --- a/devel/exempi/Makefile +++ b/devel/exempi/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.5 2008/09/22 15:04:42 wiz Exp $ +# $NetBSD: Makefile,v 1.6 2009/01/08 08:42:41 dsainty Exp $ # DISTNAME= exempi-2.0.0 @@ -16,6 +16,8 @@ USE_LIBTOOL= yes USE_TOOLS+= pkg-config USE_LANGUAGES= c c++ +CONFIGURE_ARGS+= LIBS=${BUILDLINK_LDADD.iconv:Q} + PKGCONFIG_OVERRIDE+= exempi/exempi-2.0.pc.in .include "options.mk" |