Bug 169948 - devel/pcre does not build on FreeBSD 8.2 due to libedit changes
Summary: devel/pcre does not build on FreeBSD 8.2 due to libedit changes
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: Martin Matuska
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-07-17 20:10 UTC by Bryan Drewery
Modified: 2012-07-17 22:56 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Bryan Drewery 2012-07-17 20:10:10 UTC
	Fails to build on 8.2
	Does build on 8.3.

	See http://poudriere.shatow.net/82i386-default-pcre-8.31.log
	Excerpt:

	checking for readline/readline.h... yes
	checking for readline in -ledit... no
	** Cannot --enable-pcretest-libedit because libedit library was not found.
	===>  Script "configure" failed unexpectedly.
	Please report the problem to mm@FreeBSD.org [maintainer] and attach the
	"/usr/ports/devel/pcre/work/pcre-8.31/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. an `ls /var/db/pkg`).
	*** Error code 1

	Stop in /usr/ports/devel/pcre.

How-To-Repeat: 	'make' on 8.2.
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2012-07-17 20:10:20 UTC
Responsible Changed
From-To: freebsd-ports-bugs->mm

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 dfilter service freebsd_committer freebsd_triage 2012-07-17 20:41:41 UTC
Author: mm
Date: Tue Jul 17 19:41:32 2012
New Revision: 301027
URL: http://svn.freebsd.org/changeset/ports/301027

Log:
  Fix libedit dependency to >= 803000
  
  PR:		ports/169948
  Reported by:	Bryan Drewery

Modified:
  head/devel/pcre/Makefile

Modified: head/devel/pcre/Makefile
==============================================================================
--- head/devel/pcre/Makefile	Tue Jul 17 19:36:17 2012	(r301026)
+++ head/devel/pcre/Makefile	Tue Jul 17 19:41:32 2012	(r301027)
@@ -44,8 +44,8 @@ PORTDOCS=	*
 
 .include <bsd.port.pre.mk>
 
-# For FreeBSD 8.x and above link pcretest against libedit
-.if ${OSVERSION} > 800000
+# For FreeBSD 8.3 and above link pcretest against libedit
+.if ${OSVERSION} >= 803000
 CONFIGURE_ARGS+=	--enable-pcretest-libedit
 .endif
 
_______________________________________________
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"
Comment 3 Bryan Drewery 2012-07-17 21:15:37 UTC
Confirming that the committed patch works correctly on 8.2 and 8.3

Bryan
Comment 4 Martin Matuska freebsd_committer freebsd_triage 2012-07-17 22:56:33 UTC
State Changed
From-To: open->closed

Resolved. Thanks!