Date: Fri, 11 Nov 2011 21:32:45 +0100 From: Jan Beich <jbeich@tormail.net> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/162492: [patch] mail/qmail: respect CC/STRIP Message-ID: <1ROxmY-0007TT-25@internal.tormail.net> Resent-Message-ID: <201111112040.pABKe7ek089409@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 162492 >Category: ports >Synopsis: [patch] mail/qmail: respect CC/STRIP >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri Nov 11 20:40:07 UTC 2011 >Closed-Date: >Last-Modified: >Originator: Jan Beich >Release: FreeBSD 10.0-CURRENT amd64 >Organization: >Environment: # slightly different from pointyhat $ export PATH=~/.bin:$PATH $ for cc in CC cc c++ gcc g++ cpp; do ln -s /usr/bin/false ~/.bin/${cc}; done >Description: Makefile.in@1.154 wasn't tested with similar environment ports/159117's -exp run was done with. The build still uses `cc' during linking and the next -exp run will likely reveal this. >How-To-Repeat: $ make install WITH_DEBUG= $ file -b /usr/local/bin/* | fgrep strip | uniq ELF 64-bit LSB executable, x86-64, version 1 (FreeBSD), dynamically linked (uses shared libs), for FreeBSD 10.0 (1000001), stripped $ gdb -q qmail-pop3d (no debugging symbols found)...(gdb) $ make CC=clang [...] ./load auto-str substdio.a error.a str.a *** Error code 1 >Fix: --- cc.diff begins here --- Index: mail/qmail/Makefile =================================================================== RCS file: /a/.csup/ports/mail/qmail/Makefile,v retrieving revision 1.155 diff -u -p -r1.155 Makefile --- mail/qmail/Makefile 9 Sep 2011 17:28:30 -0000 1.155 +++ mail/qmail/Makefile 11 Nov 2011 20:02:11 -0000 @@ -756,6 +756,7 @@ post-patch: do-configure: @${ECHO_CMD} "${CC} ${CFLAGS}" > ${WRKSRC}/conf-cc + @${ECHO_CMD} "${CC} ${LDFLAGS}" > ${WRKSRC}/conf-ld @${ECHO_CMD} ${PREFIX} > ${WRKSRC}/conf-qmail .if defined(WITH_BIG_CONCURRENCY_PATCH) \ && !defined(BARRIER_BIG_CONCURRENCY_PATCH) \ --- cc.diff ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1ROxmY-0007TT-25>