Convert to USES=libtool and add INSTALL_TARGET=install-strip

This commit is contained in:
Tijl Coosemans 2014-09-09 20:31:22 +00:00
parent 539e3b354b
commit 9456c98dd1
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=367776
3 changed files with 6 additions and 15 deletions

View File

@ -3,7 +3,7 @@
PORTNAME= mysql++
PORTVERSION= 1.7.40
PORTREVISION= 2
PORTREVISION= 3
CATEGORIES= databases devel
MASTER_SITES= http://tangentsoft.net/mysql++/releases/
PKGNAMESUFFIX= 1-mysql${MYSQL_VER}
@ -11,12 +11,14 @@ PKGNAMESUFFIX= 1-mysql${MYSQL_VER}
MAINTAINER= sergey@network-asp.biz
COMMENT= Complex C++ API for MySQL${MYSQL_VER}
USE_MYSQL= yes
USE_AUTOTOOLS= libtool
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-mysql=${LOCALBASE} \
--includedir=${PREFIX}/include/mysql++ \
--disable-examples
INSTALL_TARGET= install-strip
USES= libtool
USE_LDCONFIG= yes
USE_MYSQL= yes
CONFLICTS= ${PORTNAME}*-2.*

View File

@ -1,11 +0,0 @@
--- configure.orig Thu May 5 13:30:26 2005
+++ configure Mon May 9 21:09:42 2005
@@ -7793,7 +7793,7 @@
LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
# Always use our own libtool.
-LIBTOOL='$(SHELL) $(top_builddir)/libtool'
+LIBTOOL='$(SHELL) $(top_builddir)/libtool --tag=CXX'
# Prevent multiple expansion

View File

@ -30,9 +30,9 @@ include/mysql++/tiny_int.h
include/mysql++/type_info.h
include/mysql++/vallist.h
lib/libmysqlpp.a
lib/libmysqlpp.la
lib/libmysqlpp.so
lib/libmysqlpp.so.4
lib/libmysqlpp.so.4.0.0
%%PORTDOCS%%%%DOCSDIR%%/mysqlpp-refman.pdf
%%PORTDOCS%%%%DOCSDIR%%/mysqlpp-userman.pdf
%%PORTDOCS%%%%DOCSDIR%%/refman/html/annotated.html