diff options
author | Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2013-09-14 17:24:48 +0000 |
---|---|---|
committer | Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2013-09-14 17:24:48 +0000 |
commit | e617ac5e41967c6f21b5170aa5e005b9a34e1aa6 (patch) | |
tree | abb72eaffb3d1507133a6a90f8cadad46e5dc900 /databases | |
parent | - Fix previous commit (diff) |
- 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]
Notes
Notes:
svn path=/head/; revision=327309
Diffstat (limited to 'databases')
-rw-r--r-- | databases/xapian-bindings/Makefile | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/databases/xapian-bindings/Makefile b/databases/xapian-bindings/Makefile index 64e7c97edcbc..19a1ad46ae94 100644 --- a/databases/xapian-bindings/Makefile +++ b/databases/xapian-bindings/Makefile @@ -12,7 +12,7 @@ COMMENT= Bindings allowing Xapian to be used from various programming languages 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} |