aboutsummaryrefslogtreecommitdiffstats
path: root/databases
diff options
context:
space:
mode:
authortabthorpe <tabthorpe@FreeBSD.org>2007-10-06 04:25:32 +0800
committertabthorpe <tabthorpe@FreeBSD.org>2007-10-06 04:25:32 +0800
commit209bbe4aff08925c60610ebd1dac07f9346e3b64 (patch)
tree38e0fb488e3043ef0c4918f1ede8052d093692e8 /databases
parentd4ccce71ef1c6b6780dffe22a7def1b3d14edb1c (diff)
downloadfreebsd-ports-gnome-209bbe4aff08925c60610ebd1dac07f9346e3b64.tar.gz
freebsd-ports-gnome-209bbe4aff08925c60610ebd1dac07f9346e3b64.tar.zst
freebsd-ports-gnome-209bbe4aff08925c60610ebd1dac07f9346e3b64.zip
- Add SSL knob to enable encryption
- Pet portlint while I am here, USE_LDCONFIG PR: ports/116957 Submitted by: Anish Mistry <amistry am-productions.biz> Approved by: clsung (mentor, implicit)
Diffstat (limited to 'databases')
-rw-r--r--databases/freetds-devel/Makefile7
-rw-r--r--databases/freetds/Makefile7
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}