mirror of
https://github.com/beard7n/bsdports.git
synced 2026-04-10 02:21:15 +02:00
create bsd12 branch
This commit is contained in:
38
data/unixODBC/Makefile
Normal file
38
data/unixODBC/Makefile
Normal file
@@ -0,0 +1,38 @@
|
||||
#
|
||||
# $Id$
|
||||
#
|
||||
PORTNAME= unixODBC
|
||||
PORTVERSION= 2.3.4
|
||||
CATEGORIES= databases
|
||||
MASTER_SITES= ftp://ftp.unixodbc.org/pub/unixODBC/
|
||||
#PKGNAMEPREFIX= lib
|
||||
|
||||
MAINTAINER= ports@FreeBSD.org
|
||||
COMMENT= ODBC library suite for Unix
|
||||
|
||||
GNU_CONFIGURE= yes
|
||||
USE+= gmake
|
||||
CONFIGURE_ENV= ac_cv_header_msql_h=no
|
||||
CONFIGURE_ARGS= --enable-static --enable-shared
|
||||
#CONFIGURE_ARGS+= --enable-iconv
|
||||
CONFIGURE_ARGS+= --enable-readline
|
||||
CONFIGURE_ARGS+= --enable-threads
|
||||
LDFLAGS+= -L${LOCALBASE}/lib
|
||||
CFLAGS+= -I${LOCALBASE}/include
|
||||
|
||||
INSTALL_TARGET= install-strip
|
||||
USE_LDCONFIG= yes
|
||||
|
||||
post-patch:
|
||||
${REINPLACE_CMD} -e 's|\.ini$$|.ini.sample|' ${WRKSRC}/Makefile.in
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if (${OSVERSION} > 1100000)
|
||||
LIB_DEPENDS+= libreadline.so:devel/libreadline
|
||||
CFLAGS+= -I${LOCALBASE}/include
|
||||
LDFLAGS+= -L${LOCALBASE}/lib
|
||||
.endif
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
#EOF
|
||||
Reference in New Issue
Block a user