1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00
freebsd-ports/databases/unixODBC/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

40 lines
812 B
Makefile

# Created by: Nick Sayer <nsayer@FreeBSD.org>
# $FreeBSD$
PORTNAME= unixODBC
PORTVERSION= 2.3.2
CATEGORIES= databases
MASTER_SITES= http://www.unixodbc.org/
MAINTAINER= ports@FreeBSD.org
COMMENT= ODBC library suite for Unix
LICENSE= GPLv2 LGPL21
LICENSE_COMB= multi
OPTIONS_DEFINE= DOCS
USES= iconv
GNU_CONFIGURE= yes
CONFIGURE_ENV= ac_cv_header_msql_h=no
CONFIGURE_ARGS= --enable-static --enable-shared \
${ICONV_CONFIGURE_ARG}
USE_LDCONFIG= yes
PORTDOCS= *
.include <bsd.port.options.mk>
post-patch:
@${REINPLACE_CMD} -e \
'/\.ini/s|^|#|' ${WRKSRC}/Makefile.in
post-install:
.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${STAGEDIR}${DOCSDIR}
cd ${WRKSRC}/doc && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}
@${FIND} ${STAGEDIR}${DOCSDIR} -type f -name "*Makefile*" -delete
.endif
.include <bsd.port.mk>