Bug 162492

Summary: [patch] mail/qmail: respect CC/STRIP
Product: Ports & Packages Reporter: Jan Beich <jbeich>
Component: Individual Port(s)Assignee: Renato Botelho <garga>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
cc.diff
none
cc.diff none

Description Jan Beich freebsd_committer freebsd_triage 2011-11-11 20:40:07 UTC
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
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2011-11-11 20:40:55 UTC
Responsible Changed
From-To: freebsd-ports-bugs->garga

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 Jan Beich freebsd_committer freebsd_triage 2011-11-11 20:43:51 UTC
Jan Beich <jbeich@tormail.net> writes:

>  do-configure:
>  	@${ECHO_CMD} "${CC} ${CFLAGS}" > ${WRKSRC}/conf-cc
> +	@${ECHO_CMD} "${CC} ${LDFLAGS}" > ${WRKSRC}/conf-ld

Oops, I've sent the old version without strip fix. Trying again
Comment 3 dfilter service freebsd_committer freebsd_triage 2011-11-16 21:18:43 UTC
garga       2011-11-16 21:18:26 UTC

  FreeBSD ports repository

  Modified files:
    mail/qmail           Makefile 
  Log:
  Respect CC and STRIP
  
  PR:             ports/162492
  Submitted by:   Jan Beich <jbeich@tormail.net>
  Feature safe:   yes
  
  Revision  Changes    Path
  1.156     +1 -0      ports/mail/qmail/Makefile
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
Comment 4 Renato Botelho freebsd_committer freebsd_triage 2011-11-16 21:20:09 UTC
State Changed
From-To: open->closed

Committed. Thanks!