Fix unixODBC-detection.

Noticed by:			cluster via kris
"Right idea, wrong method":	me°
This commit is contained in:
Volker Stolz 2004-07-12 09:42:07 +00:00
parent 3b42c26fb6
commit 14dfd07e5b
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=113456

View file

@ -43,7 +43,7 @@ LIB_DEPENDS= jpeg.9:${PORTSDIR}/graphics/jpeg \
RUN_DEPENDS= bash:${PORTSDIR}/shells/bash2 \
wget:${PORTSDIR}/ftp/wget
.if !defined(WITHOUT_IODBC) && !exists(${LOCALBASE}/lib/libodbc.so)
.if !defined(WITHOUT_IODBC) && !exists(${LOCALBASE}/bin/odbcinst)
LIB_DEPENDS+= iodbc.3:${PORTSDIR}/databases/libiodbc
PLIST_SUB= ODBC=""
.elseif !defined(WITHOUT_UNIXODBC)