Bug 189364 - mail/maildrop fails to compile
Summary: mail/maildrop fails to compile
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Guido Falsi
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-05-05 00:00 UTC by blacktux82
Modified: 2014-05-13 08:50 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description blacktux82 2014-05-05 00:00:01 UTC
Hello,

mail/maildrop fails to compile with the options AUTHLIB and AUTH_LDAP.

--- mailbot ---
/bin/sh ./libtool  --tag=CC    --mode=link cc  -O2 -pipe -DLIBICONV_PLUG -fno-strict-aliasing -I./../rfc822 -I./../rfc2045 -I.. -I./.. -I ../.. -I./../.. -Wall  -static -L/usr/local/lib -o mailbot mailbot.o ../rfc2045/librfc2045.la  ../rfc822/librfc822.la ../liblock/liblock.la  ../numlib/libnumlib.la ../unicode/libunicode.la ../../libs/bdbobj/libbdbobj.la -rpath=:/usr/local/lib/courier-authlib
libtool: link: cc -O2 -pipe -DLIBICONV_PLUG -fno-strict-aliasing -I./../rfc822 -I./../rfc2045 -I.. -I./.. -I ../.. -I./../.. -Wall -o mailbot mailbot.o -rpath=:/usr/local/lib/courier-authlib  -L/usr/local/lib ../rfc2045/.libs/librfc2045.a ../rfc822/.libs/librfc822.a ../liblock/.libs/liblock.a ../numlib/.libs/libnumlib.a ../unicode/.libs/libunicode.a ../../libs/bdbobj/.libs/libbdbobj.a
cc: error: unknown argument: '-rpath=:/usr/local/lib/courier-authlib'
*** [mailbot] Error code 1

How-To-Repeat: make in /usr/ports/mail/maildrop
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2014-05-05 00:00:09 UTC
Responsible Changed
From-To: freebsd-ports-bugs->madpilot

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 blacktux82 2014-05-05 00:16:15 UTC
Hi,

I've fixed it with:

mail/maildrop/Makefile:

117c117
<       @${REINPLACE_CMD} -e 's|@LIBS@|@LIBS@ 
-L${LOCALBASE}/lib/courier-authlib|' \
---
 >       @${REINPLACE_CMD} -e 's|@LIBS@|@LIBS@ 
-rpath=:${LOCALBASE}/lib/courier-authlib|' \

Maildrop works as expected.

On 05/05/14 01:00, FreeBSD-gnats-submit@FreeBSD.org wrote:
> Thank you very much for your problem report.
> It has the internal identification `ports/189364'.
> The individual assigned to look at your
> report is: freebsd-ports-bugs.
>
> You can access the state of your problem report at any time
> via this link:
>
> http://www.freebsd.org/cgi/query-pr.cgi?pr=189364
>
>> Category:       ports
>> Responsible:    freebsd-ports-bugs
>> Synopsis:       mail/maildrop fails to compile
>> Arrival-Date:   Sun May 04 23:00:01 UTC 2014
Comment 3 dfilter service freebsd_committer freebsd_triage 2014-05-05 17:40:58 UTC
Author: madpilot
Date: Mon May  5 16:40:54 2014
New Revision: 353031
URL: http://svnweb.freebsd.org/changeset/ports/353031
QAT: https://qat.redports.org/buildarchive/r353031/

Log:
  Fix build with latest clang when option AUTHLIB is turned on (default off)
  
  PR:             ports/189364
  Submitted by:   Andre Lehmann <blacktux82@gmail.com>
  MFH:            2014Q2

Modified:
  head/mail/maildrop/Makefile

Modified: head/mail/maildrop/Makefile
==============================================================================
--- head/mail/maildrop/Makefile	Mon May  5 16:40:49 2014	(r353030)
+++ head/mail/maildrop/Makefile	Mon May  5 16:40:54 2014	(r353031)
@@ -114,7 +114,7 @@ post-patch:
 		-e "s/\(deliverquota.html\)/maildrop-\1/" ${WRKSRC}/${f}
 .endfor
 .if ${PORT_OPTIONS:MAUTHLIB}
-	@${REINPLACE_CMD} -e 's|@LIBS@|@LIBS@ -rpath=:${LOCALBASE}/lib/courier-authlib|' \
+	@${REINPLACE_CMD} -e 's|@LIBS@|@LIBS@ -L${LOCALBASE}/lib/courier-authlib|' \
 		${WRKSRC}/libs/maildrop/Makefile.in
 .if exists(${.CURDIR}/../../security/courier-authlib/Makefile.dep)
 .include "${.CURDIR}/../../security/courier-authlib/Makefile.dep"
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
Comment 4 Guido Falsi freebsd_committer freebsd_triage 2014-05-05 17:41:00 UTC
State Changed
From-To: open->closed

Committed. Thanks!
Comment 5 dfilter service freebsd_committer freebsd_triage 2014-05-13 08:46:32 UTC
Author: madpilot
Date: Tue May 13 07:46:27 2014
New Revision: 353925
URL: http://svnweb.freebsd.org/changeset/ports/353925
QAT: https://qat.redports.org/buildarchive/r353925/

Log:
  MFH: r353031
  
  Fix build with latest clang when option AUTHLIB is turned on (default off)
  
  PR:             ports/189364
  Submitted by:   Andre Lehmann <blacktux82@gmail.com>
  
  Approved by:	portmgr (antoine)

Modified:
  branches/2014Q2/mail/maildrop/Makefile
Directory Properties:
  branches/2014Q2/   (props changed)

Modified: branches/2014Q2/mail/maildrop/Makefile
==============================================================================
--- branches/2014Q2/mail/maildrop/Makefile	Tue May 13 07:25:54 2014	(r353924)
+++ branches/2014Q2/mail/maildrop/Makefile	Tue May 13 07:46:27 2014	(r353925)
@@ -111,7 +111,7 @@ post-patch:
 		-e "s/\(deliverquota.html\)/maildrop-\1/" ${WRKSRC}/${f}
 .endfor
 .if ${PORT_OPTIONS:MAUTHLIB}
-	@${REINPLACE_CMD} -e 's|@LIBS@|@LIBS@ -rpath=:${LOCALBASE}/lib/courier-authlib|' \
+	@${REINPLACE_CMD} -e 's|@LIBS@|@LIBS@ -L${LOCALBASE}/lib/courier-authlib|' \
 		${WRKSRC}/libs/maildrop/Makefile.in
 .if exists(${.CURDIR}/../../security/courier-authlib/Makefile.dep)
 .include "${.CURDIR}/../../security/courier-authlib/Makefile.dep"
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"