diff options
-rw-r--r-- | databases/freetds-devel/Makefile | 7 | ||||
-rw-r--r-- | databases/freetds/Makefile | 7 |
2 files changed, 12 insertions, 2 deletions
diff --git a/databases/freetds-devel/Makefile b/databases/freetds-devel/Makefile index ed2a306f7b23..bb70b5422553 100644 --- a/databases/freetds-devel/Makefile +++ b/databases/freetds-devel/Makefile @@ -23,11 +23,16 @@ USE_AUTOTOOLS= autoconf:261:env libtool:15 CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ LDFLAGS="-L${LOCALBASE}/lib" CONFIGURE_ARGS= --with-tdsver=${TDS_VER} -INSTALLS_SHLIB= yes +USE_LDCONFIG= yes DOCSDIR= ${PREFIX}/share/doc/${PORTNAME}-${PORTVERSION} MAN1= datacopy.1 freebcp.1 tsql.1 bsqldb.1 defncopy.1 +.if defined(WITH_OPENSSL) +USE_OPENSSL= yes +CONFIGURE_ARGS+=--with-openssl=${OPENSSLBASE} +.endif + .if defined(WITH_IODBC) LIB_DEPENDS+= iodbc:${PORTSDIR}/databases/libiodbc CONFIGURE_ARGS+= --with-iodbc=${LOCALBASE} diff --git a/databases/freetds/Makefile b/databases/freetds/Makefile index ed2a306f7b23..bb70b5422553 100644 --- a/databases/freetds/Makefile +++ b/databases/freetds/Makefile @@ -23,11 +23,16 @@ USE_AUTOTOOLS= autoconf:261:env libtool:15 CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ LDFLAGS="-L${LOCALBASE}/lib" CONFIGURE_ARGS= --with-tdsver=${TDS_VER} -INSTALLS_SHLIB= yes +USE_LDCONFIG= yes DOCSDIR= ${PREFIX}/share/doc/${PORTNAME}-${PORTVERSION} MAN1= datacopy.1 freebcp.1 tsql.1 bsqldb.1 defncopy.1 +.if defined(WITH_OPENSSL) +USE_OPENSSL= yes +CONFIGURE_ARGS+=--with-openssl=${OPENSSLBASE} +.endif + .if defined(WITH_IODBC) LIB_DEPENDS+= iodbc:${PORTSDIR}/databases/libiodbc CONFIGURE_ARGS+= --with-iodbc=${LOCALBASE} |