openbsd-ports/databases/tdbc/patches/patch-configure
2017-12-25 04:36:57 +00:00

23 lines
939 B
Plaintext

$OpenBSD: patch-configure,v 1.3 2017/12/25 04:36:57 stu Exp $
Index: configure
--- configure.orig
+++ configure
@@ -9019,7 +9019,7 @@ tdbc_SRC_DIR=`cd "${tdbc_SRC_DIR}"; $CYGPATH $(pwd)`
# Develop a fully qualified path for where .tcl files for the tdbc package
# appear at run time.
-eval tdbc_LIB_DIR="${libdir}/${PACKAGE_NAME}${PACKAGE_VERSION}"
+eval tdbc_LIB_DIR="${libdir}/tcl/${PACKAGE_NAME}"
if test -d "${tdbc_LIB_DIR}" ; then
tdbc_LIB_DIR=`cd "${tdbc_LIB_DIR}"; $CYGPATH $(pwd)`
fi
@@ -9033,7 +9033,7 @@ fi
#--------------------------------------------------------------------
# pkglibdir must be a fully qualified path and (not ${exec_prefix}/lib)
- eval pkglibdir="${libdir}/tdbc${PACKAGE_VERSION}"
+ eval pkglibdir="${libdir}"
if test "${TCL_LIB_VERSIONS_OK}" = "ok"; then
eval tdbc_LIB_FLAG="-ltdbc${PACKAGE_VERSION}${DBGX}"
eval tdbc_STUB_LIB_FLAG="-ltdbcstub${PACKAGE_VERSION}${DBGX}"