Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 14 Sep 2013 17:24:48 +0000 (UTC)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r327309 - head/databases/xapian-bindings
Message-ID:  <201309141724.r8EHOmiQ060969@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sunpoet
Date: Sat Sep 14 17:24:48 2013
New Revision: 327309
URL: http://svnweb.freebsd.org/changeset/ports/327309

Log:
  - Fix build without libstdc++ by removing hardcoded libstdc++ linkage [1]
  - Convert to new LIB_DEPENDS format
  - Use USE+= after bsd.port.*.mk inclusion
  
  Reported by:	pkg-fallout [1]

Modified:
  head/databases/xapian-bindings/Makefile

Modified: head/databases/xapian-bindings/Makefile
==============================================================================
--- head/databases/xapian-bindings/Makefile	Sat Sep 14 17:16:04 2013	(r327308)
+++ head/databases/xapian-bindings/Makefile	Sat Sep 14 17:24:48 2013	(r327309)
@@ -12,7 +12,7 @@ COMMENT=	Bindings allowing Xapian to be 
 
 LICENSE=	GPLv2
 
-LIB_DEPENDS=	xapian:${PORTSDIR}/databases/xapian-core
+LIB_DEPENDS=	libxapian.so:${PORTSDIR}/databases/xapian-core
 
 OPTIONS_DEFINE=	DOCS LUA PERL PHP PYTHON RUBY
 OPTIONS_DEFAULT=PHP PYTHON RUBY
@@ -37,7 +37,7 @@ PLIST_SUB+=	LUA="@comment "
 .if ${PORT_OPTIONS:MPERL}
 CONFIGURE_ARGS+=--with-perl
 CONFIGURE_ENV+=	PERL_LIB="${SITE_PERL}"
-USES=		perl5
+USES+=		perl5
 PLIST_SUB+=	PERL=""
 .else
 PLIST_SUB+=	PERL="@comment "
@@ -75,6 +75,7 @@ PLIST_SUB+=	RUBY="@comment "
 .endif
 
 post-patch:
+	@${REINPLACE_CMD} -e 's|-lstdc++||g' ${WRKSRC}/configure
 # do not install rdoc
 	@${REINPLACE_CMD} -e '/^install-data-am:/ s|install-data-local||' ${WRKSRC}/ruby/Makefile.in
 .if !${PORT_OPTIONS:MDOCS}



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201309141724.r8EHOmiQ060969>