Bug 196966

Summary: ftp/bsdftpd-ssl requires -lpam when building with external toolchain
Product: Ports & Packages Reporter: Sean Bruno <sbruno>
Component: Individual Port(s)Assignee: Sean Bruno <sbruno>
Status: Closed FIXED    
Severity: Affects Some People CC: tijl
Priority: ---    
Version: Latest   
Hardware: amd64   
OS: Any   

Description Sean Bruno freebsd_committer freebsd_triage 2015-01-21 15:36:18 UTC
We need an explicit link against libpam when using a non-default toolchain.  This is used in the cross build of arm/mips ports.

http://chips.ysv.freebsd.org/data/11armv6-11armv6/2015-01-19_15h28m19s/logs/errors/bsdftpd-ssl-1.1.0_4.log

Index: Makefile
===================================================================
--- Makefile    (revision 377338)
+++ Makefile    (working copy)
@@ -25,6 +25,8 @@
 OPTIONS_DEFAULT=SERVER
 .endif
 
+LDFLAGS+=      -lpam
+
 .include <bsd.port.options.mk>
 
 .if ${PORT_OPTIONS:MSERVER} && ${PORT_OPTIONS:MEXAMPLES}
Comment 1 commit-hook freebsd_committer freebsd_triage 2015-02-12 20:53:25 UTC
A commit references this bug:

Author: sbruno
Date: Thu Feb 12 20:52:27 UTC 2015
New revision: 378895
URL: https://svnweb.freebsd.org/changeset/ports/378895

Log:
  Explicitly link against libpam.  Fixes builds with external toolchains (qemu powered
  poudriere).

  PR:		196966
  Approved by:	maintainer timeout

Changes:
  head/ftp/bsdftpd-ssl/Makefile
Comment 2 Kubilay Kocak freebsd_committer freebsd_triage 2015-02-13 02:17:25 UTC
Assign to committer that resolved.