summaryrefslogtreecommitdiff
path: root/databases/tcl-fbsql
diff options
context:
space:
mode:
authorjmc <jmc@pkgsrc.org>2003-04-04 21:43:30 +0000
committerjmc <jmc@pkgsrc.org>2003-04-04 21:43:30 +0000
commit0e151f90a9f8fa3e5fabc7e1728b2a18f6a66b25 (patch)
tree9ebcb128a23850c3bf0006d63ba27e6c2f9a1c82 /databases/tcl-fbsql
parent42d446bf534b2a52837372c43976316167cb9ca6 (diff)
downloadpkgsrc-0e151f90a9f8fa3e5fabc7e1728b2a18f6a66b25.tar.gz
Use tclConfig.sh to get the proper place for the library. Also do a mkdir
before installing to make sure the directory exists.
Diffstat (limited to 'databases/tcl-fbsql')
-rw-r--r--databases/tcl-fbsql/Makefile8
1 files changed, 6 insertions, 2 deletions
diff --git a/databases/tcl-fbsql/Makefile b/databases/tcl-fbsql/Makefile
index c5047afbdfb..7015cedab3c 100644
--- a/databases/tcl-fbsql/Makefile
+++ b/databases/tcl-fbsql/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2003/03/29 12:40:28 jmmv Exp $
+# $NetBSD: Makefile,v 1.3 2003/04/04 21:43:30 jmc Exp $
DISTNAME= fbsql.c
PKGNAME= tcl-fbsql-1.05
@@ -20,8 +20,12 @@ do-extract:
${CP} ${_DISTDIR}/fbsql.c ${WRKSRC}/
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/fbsql.so ${PREFIX}/lib/tcl/
+ @-${MKDIR} ${TCL_DIR}
+ ${INSTALL_PROGRAM} ${WRKSRC}/fbsql.so ${TCL_DIR}
.include "../../databases/mysql-client/buildlink2.mk"
.include "../../lang/tcl/buildlink2.mk"
.include "../../mk/bsd.pkg.mk"
+
+# Need here for $PREFIX
+TCL_DIR!= . ${PREFIX}/lib/tclConfig.sh; echo $$TCL_PACKAGE_PATH