svn commit: r327309 - head/databases/xapian-bindings
Sunpoet Po-Chuan Hsieh
sunpoet at FreeBSD.org
Sat Sep 14 17:24:48 UTC 2013
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}
More information about the svn-ports-all
mailing list