Bug 174962 - building mail/nmh fails
Summary: building mail/nmh fails
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: Cy Schubert
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-01-04 04:40 UTC by TsurutaniNaoki
Modified: 2013-01-04 06:10 UTC (History)
1 user (show)

See Also:


Attachments
file.diff (444 bytes, patch)
2013-01-04 04:40 UTC, TsurutaniNaoki
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description TsurutaniNaoki 2013-01-04 04:40:00 UTC
	building mail/nmh fails with cyrus-sasl2 support.

Fix: here is a patch:
How-To-Repeat: 	% make
	...
	configure: error: sasl.h not found
	===>  Script "configure" failed unexpectedly.
	Please report the problem to cy@FreeBSD.org [maintainer] and attach the
	"/usr/local/work/usr/ports/mail/nmh/work/nmh-1.5/config.log" including the
	output of the failure of your make command. Also, it might be a good idea to
	provide an overview of all packages installed on your system (e.g. a
	/usr/sbin/pkg_info -Ea).
	*** Error code 1
	
	Stop in /usr/ports/mail/nmh.
	*** Error code 1
	
	Stop in /usr/ports/mail/nmh.
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2013-01-04 04:40:30 UTC
Responsible Changed
From-To: freebsd-ports-bugs->cy

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 Cy Schubert freebsd_committer freebsd_triage 2013-01-04 06:07:25 UTC
State Changed
From-To: open->closed

Committed, thanks.
Comment 3 dfilter service freebsd_committer freebsd_triage 2013-01-04 06:08:37 UTC
Author: cy
Date: Fri Jan  4 06:08:26 2013
New Revision: 309915
URL: http://svnweb.freebsd.org/changeset/ports/309915

Log:
  Fix Makefile bug introduced in r308609.
  
  PR:		174962
  Submitted by:	Tsurutani Naoki <turutani@scphys.kyoto-u.ac.jp>

Modified:
  head/mail/nmh/Makefile

Modified: head/mail/nmh/Makefile
==============================================================================
--- head/mail/nmh/Makefile	Fri Jan  4 01:43:00 2013	(r309914)
+++ head/mail/nmh/Makefile	Fri Jan  4 06:08:26 2013	(r309915)
@@ -102,7 +102,8 @@ CONFIGURE_ARGS+=	--docdir=${DOCSDIR}
 
 .if defined(WITH_SASL2)
 LIB_DEPENDS+=		sasl2:${PORTSDIR}/security/cyrus-sasl2
-CONFIGURE_ARGS+=	--with-cyrus-sasl=${PREFIX}
+CONFIGURE_ARGS+=	--with-cyrus-sasl
+CONFIGURE_ENV+=		LDFLAGS=-L"${PREFIX}"/lib CPPFLAGS=" -I${PREFIX}/include"
 .endif
 
 MAN1=	ali.1 anno.1 burst.1 comp.1 dist.1 flist.1 flists.1 fnext.1 \
_______________________________________________
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"