summaryrefslogtreecommitdiff
path: root/databases/sqlite3-tcl
diff options
context:
space:
mode:
authorjperkin <jperkin@pkgsrc.org>2016-02-20 10:25:02 +0000
committerjperkin <jperkin@pkgsrc.org>2016-02-20 10:25:02 +0000
commitb461f27bc3f1431c11b136b09809542cc7fadf34 (patch)
tree64975f73d25365615f871b892dcc68227b35497e /databases/sqlite3-tcl
parent10eccc99fa1f8a645bc1b4a29ea0dfe00644f107 (diff)
downloadpkgsrc-b461f27bc3f1431c11b136b09809542cc7fadf34.tar.gz
Fix install_name on Darwin. Bump PKGREVISION.
Diffstat (limited to 'databases/sqlite3-tcl')
-rw-r--r--databases/sqlite3-tcl/Makefile12
1 files changed, 11 insertions, 1 deletions
diff --git a/databases/sqlite3-tcl/Makefile b/databases/sqlite3-tcl/Makefile
index 7f12c60c756..9c3c275f86b 100644
--- a/databases/sqlite3-tcl/Makefile
+++ b/databases/sqlite3-tcl/Makefile
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.77 2016/01/08 14:43:10 adam Exp $
+# $NetBSD: Makefile,v 1.78 2016/02/20 10:25:02 jperkin Exp $
DISTNAME= sqlite-autoconf-${SQLITE3_DISTVERSION}
PKGNAME= sqlite3-tcl-${SQLITE3_VERSION}
+PKGREVISION= 1
CATEGORIES= databases
MAINTAINER= pkgsrc-users@NetBSD.org
@@ -25,6 +26,15 @@ BUILDLINK_API_DEPENDS.sqlite3+= sqlite3>=3.6.10
post-extract:
mv ${WRKSRC}/doc/sqlite3.n ${WRKSRC}/doc/sqlite3-tcl.n
+.include "../../mk/bsd.prefs.mk"
+
+.if ${OPSYS} == "Darwin"
+post-install:
+ install_name_tool -id \
+ ${PREFIX}/lib/sqlite3/libsqlite${PKGVERSION_NOREV}.dylib \
+ ${DESTDIR}${PREFIX}/lib/sqlite3/libsqlite${PKGVERSION_NOREV}.dylib
+.endif
+
.include "../../databases/sqlite3/buildlink3.mk"
.include "../../lang/tcl/buildlink3.mk"
.include "../../mk/readline.buildlink3.mk"