freebsd-ports/databases/proftpd-mod_sql_odbc/Makefile
Baptiste Daroussin f4f46a920e Fix unixODBC vs libiodbc conflicts
Always rely on unixODBC each time a port is looking for libodbc.so
Remove odbc compat from libiodbc
This allows to install both kde and gnome at the same time

While here:
- Convert libiodbc to USES=libtool
- Convert a bunch of libiodbc dependencies to USES=libtool
- Chase libiodbc.so shlib change
- Stagify some ports
- Convert some ports to USES=pgsql

Discussed with:	rakuco (kde)
With hat:	portmgr
2014-05-05 16:24:00 +00:00

28 lines
612 B
Makefile

# Created by: Martin Matuska <mm@FreeBSD.org>
# $FreeBSD$
PORTNAME= mod_sql_odbc
CATEGORIES= databases ftp
PKGNAMEPREFIX= proftpd-
MAINTAINER= mm@FreeBSD.org
COMMENT= ODBC ProFTPD module
LICENSE= GPLv2
DESCR= ${.CURDIR}/pkg-descr
LATEST_LINK= ${PKGNAMEPREFIX}-${PORTNAME}
MASTERDIR= ${.CURDIR}/../../ftp/proftpd
LIB_DEPENDS= libiodbc.so.2:${PORTSDIR}/databases/libiodbc
CONFIGURE_ARGS= LIBS=-liodbc \
LD_LIBRARY_PATH="${LOCALBASE}/lib" \
LDFLAGS="-L${LOCALBASE}/lib"
INCLUDEDIRS= ${LOCALBASE}/include
LIBDIRS= ${LOCALBASE}/lib
_BUILDING_PROFTPD_MODULE= ${PORTNAME}
.include "${MASTERDIR}/Makefile"