diff options
author | jmc <jmc> | 2003-04-04 21:43:30 +0000 |
---|---|---|
committer | jmc <jmc> | 2003-04-04 21:43:30 +0000 |
commit | e31f67186590c11ce8b68f3c1bb403edd6d87aa6 (patch) | |
tree | 9ebcb128a23850c3bf0006d63ba27e6c2f9a1c82 /databases | |
parent | 2b6f6a5bfd74b492926d0a990599de46e54acb65 (diff) | |
download | pkgsrc-e31f67186590c11ce8b68f3c1bb403edd6d87aa6.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')
-rw-r--r-- | databases/tcl-fbsql/Makefile | 8 |
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 |