pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/50180: x11/xdg-user-dirs needs (Gnu) libiconv on Solaris



>Number:         50180
>Category:       pkg
>Synopsis:       x11/xdg-user-dirs needs (Gnu) libiconv on Solaris
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Aug 27 15:30:00 +0000 2015
>Originator:     Joern Clausen
>Release:        
>Organization:
University of Bielefeld
>Environment:
>Description:
The latest version of x11/xdg-user-dirs now needs (Gnu) libiconv on Solaris:

gcc  -O2 -I/opt/pkg-hrz/20150821/include  -L/opt/pkg-hrz/20150821/lib -Wl,-R/opt/pkg-hrz/20150821/lib -o xdg-user-dirs-update xdg-user-dirs-update.o -lintl 
Undefined                       first referenced
 symbol                             in file
libiconv_open                       xdg-user-dirs-update.o  (symbol belongs to implicit dependency /opt/pkgsrc/pkg-hrz/pkgsrc/x11/xdg-user-dirs/work.pkgsrc-sol11i86/.buildlink/lib/libiconv.so.2)
libiconv                            xdg-user-dirs-update.o  (symbol belongs to implicit dependency /opt/pkgsrc/pkg-hrz/pkgsrc/x11/xdg-user-dirs/work.pkgsrc-sol11i86/.buildlink/lib/libiconv.so.2)
ld: fatal: symbol referencing errors
collect2: error: ld returned 1 exit status

>How-To-Repeat:

>Fix:
--- Makefile    2015/08/27 11:16:40     1.1
+++ Makefile    2015/08/27 15:16:36
@@ -24,4 +24,5 @@
                ${PKG_SYSCONFDIR}/xdg/user-dirs.defaults
 
 .include "../../devel/gettext-lib/buildlink3.mk"
+.include "../../converters/libiconv/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"


change patches/patch-ac to

--- Makefile.in.orig    2013-06-27 08:22:14.000000000 +0000
+++ Makefile.in
@@ -314,9 +314,9 @@ INCLUDES = \
 EXTRA_DIST = config.rpath translate.c autogen.sh \
        user-dirs.conf user-dirs.defaults xdg-user-dir
 
-xdgdir = $(sysconfdir)/xdg
+xdgdir = $(prefix)/share/examples/xdg
 xdg_DATA = user-dirs.conf user-dirs.defaults
-libraries = $(LIBINTL)
+libraries = $(LIBINTL) $(LIBICONV)
 bin_SCRIPTS = \
        xdg-user-dir                            \
        $(NULL)



Home | Main Index | Thread Index | Old Index