pkgsrc-Bugs archive

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

pkg/48079: mail/ripmime now uses libiconv



>Number:         48079
>Category:       pkg
>Synopsis:       mail/ripmime now uses libiconv
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Jul 24 06:30:01 +0000 2013
>Originator:     Jörn Clausen
>Release:        
>Organization:
University of Bielefeld
>Environment:
>Description:
mail/ripmime now needs libiconv but does not link to the library:

===> Building for ripmime-1.4.0.10
gcc -O -DRIPOLE ripmime.c strstack.o mime.o ffget.o MIME_headers.o tnef/tnef.o 
rawget.o pldstr.o logger.o libmime-decoders.o boundary-stack.o uuencode.o 
filename-filters.o ripOLE/ole.o ripOLE/olestream-unwrap.o ripOLE/bytedecoders.o 
 ripOLE/bt-int.o -o ripmime 
Undefined                       first referenced
 symbol                             in file
libiconv_close                      mime.o
libiconv_open                       mime.o
libiconv                            mime.o
ld: fatal: Symbol referencing errors. No output written to ripmime
collect2: error: ld returned 1 exit status
*** Error code 1

>How-To-Repeat:

>Fix:
--- Makefile    2013/07/24 06:22:58     1.1
+++ Makefile    2013/07/24 06:24:00
@@ -18,3 +18,4 @@
        ${INSTALL_MAN} ${WRKSRC}/ripmime.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
 
 .include "../../mk/bsd.pkg.mk"
+.include "../../converters/libiconv/buildlink3.mk"

is a start, but more changes to the handcrafted Makefile are necessary. IMHO 
over to the submitter of the last version.



Home | Main Index | Thread Index | Old Index