diff options
author | tijl <tijl@FreeBSD.org> | 2014-05-06 17:55:35 +0800 |
---|---|---|
committer | tijl <tijl@FreeBSD.org> | 2014-05-06 17:55:35 +0800 |
commit | a97f1b038514c986d185d59aa945c7fd57adbcd9 (patch) | |
tree | 1c46666d9cbf619c489cd973d23c31a560d40f89 | |
parent | 09258502e2be3179a61a03a1f42c26cb52f2f3e2 (diff) | |
download | freebsd-ports-gnome-a97f1b038514c986d185d59aa945c7fd57adbcd9.tar.gz freebsd-ports-gnome-a97f1b038514c986d185d59aa945c7fd57adbcd9.tar.zst freebsd-ports-gnome-a97f1b038514c986d185d59aa945c7fd57adbcd9.zip |
- Run autotools in the same order as autoreconf, i.e. libtoolize, aclocal,
autoconf, autoheader, automake. [1]
This should allow replacing custom pre-configure and run-autotools
targets that some ports have with USE_AUTOTOOLS.
- Set default LIBTOOLIZE_ARGS:
-i: install missing build scripts.
-c: copy files instead of linking them. This is needed for USES=libtool
to be able to patch them.
-f: force replacement of existing files. This ensures all files belong
to the same version.
database/vsqlite:
- Fix with new LIBTOOLIZE_ARGS.
- INSTALL_TARGET=install-strip.
- Drop :keepla.
Reported by: Nikola Kolev <koue@chaosophia.net> [1]
Exp-run: antoine
Approved by: portmgr (antoine)
-rw-r--r-- | Mk/bsd.autotools.mk | 18 | ||||
-rw-r--r-- | databases/vsqlite/Makefile | 14 | ||||
-rw-r--r-- | databases/vsqlite/pkg-plist | 1 |
3 files changed, 14 insertions, 19 deletions
diff --git a/Mk/bsd.autotools.mk b/Mk/bsd.autotools.mk index 5fc74c7e1e0c..1c40c70f1ca6 100644 --- a/Mk/bsd.autotools.mk +++ b/Mk/bsd.autotools.mk @@ -308,6 +308,8 @@ LIBTOOLFILES?= aclocal.m4 LIBTOOLFILES?= ${CONFIGURE_SCRIPT} . endif +LIBTOOLIZE_ARGS?= -i -c -f + LIBTOOL_DEPENDS= libtool>=2.4:${PORTSDIR}/${LIBTOOL_PORT} BUILD_DEPENDS+= ${LIBTOOL_DEPENDS} .endif @@ -329,15 +331,13 @@ ${var:tu}_ENV+= ${AUTOTOOLS_VARS} #--------------------------------------------------------------------------- .if !target(run-autotools) -.ORDER: run-autotools run-autotools-aclocal \ - patch-autotools-libtool run-autotools-autoheader \ - run-autotools-libtoolize run-autotools-autoconf \ - run-autotools-automake - -run-autotools:: run-autotools-aclocal \ - patch-autotools-libtool run-autotools-autoheader \ - run-autotools-libtoolize run-autotools-autoconf \ - run-autotools-automake +.ORDER: run-autotools run-autotools-libtoolize run-autotools-aclocal \ + patch-autotools-libtool run-autotools-autoconf \ + run-autotools-autoheader run-autotools-automake + +run-autotools:: run-autotools-libtoolize run-autotools-aclocal \ + patch-autotools-libtool run-autotools-autoconf \ + run-autotools-autoheader run-autotools-automake .endif .if !target(run-autotools-aclocal) diff --git a/databases/vsqlite/Makefile b/databases/vsqlite/Makefile index cfcce6078b89..0a8379f8ab94 100644 --- a/databases/vsqlite/Makefile +++ b/databases/vsqlite/Makefile @@ -3,7 +3,7 @@ PORTNAME= vsqlite PORTVERSION= 0.3.12 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= databases MAINTAINER= kwm@FreeBSD.org @@ -19,17 +19,13 @@ GH_PROJECT= vsqlite-- GH_TAGNAME= 3fa8d32 GH_COMMIT= 3fa8d32 -USE_AUTOTOOLS= libtoolize autoconf automake -USES= compiler:c++0x libtool:keepla +USES= compiler:c++0x libtool +USE_AUTOTOOLS= libtoolize aclocal autoconf automake +AUTOMAKE_ARGS= -a -c -f USE_SQLITE= 3 USE_LDCONFIG= yes +INSTALL_TARGET= install-strip CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib -pre-configure: - @cd ${WRKSRC} && ${SH} autogen.sh - -post-install: - @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libvsqlitepp.so.3 - .include <bsd.port.mk> diff --git a/databases/vsqlite/pkg-plist b/databases/vsqlite/pkg-plist index 30577b1d65ca..6a1b74705d40 100644 --- a/databases/vsqlite/pkg-plist +++ b/databases/vsqlite/pkg-plist @@ -8,7 +8,6 @@ include/sqlite/result.hpp include/sqlite/transaction.hpp include/sqlite/view.hpp lib/libvsqlitepp.a -lib/libvsqlitepp.la lib/libvsqlitepp.so lib/libvsqlitepp.so.3 lib/libvsqlitepp.so.3.0.0 |