Bug 196966 - ftp/bsdftpd-ssl requires -lpam when building with external toolchain
Summary: ftp/bsdftpd-ssl requires -lpam when building with external toolchain
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: amd64 Any
: --- Affects Some People
Assignee: Sean Bruno
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-01-21 15:36 UTC by Sean Bruno
Modified: 2015-02-13 02:17 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.