Lines 6-26
Link Here
|
6 |
# |
6 |
# |
7 |
|
7 |
|
8 |
PORTNAME= unixODBC |
8 |
PORTNAME= unixODBC |
9 |
PORTVERSION= 2.2.7 |
9 |
PORTVERSION= 2.2.8 |
10 |
PORTREVISION= 1 |
|
|
11 |
CATEGORIES= databases |
10 |
CATEGORIES= databases |
12 |
MASTER_SITES= http://www.unixodbc.org/ |
11 |
MASTER_SITES= http://www.unixodbc.org/ |
13 |
|
12 |
|
14 |
MAINTAINER= ports@FreeBSD.org |
13 |
MAINTAINER= ports@FreeBSD.org |
15 |
COMMENT= ODBC library suite for Unix |
14 |
COMMENT= ODBC library suite for Unix |
16 |
|
15 |
|
17 |
LIB_DEPENDS= iconv.3:${PORTSDIR}/converters/libiconv |
|
|
18 |
|
19 |
CONFLICTS= libiodbc-* |
16 |
CONFLICTS= libiodbc-* |
20 |
|
17 |
|
21 |
USE_REINPLACE= yes |
18 |
USE_GNOME= gnomehack gnometarget lthack |
|
|
19 |
USE_ICONV= yes |
22 |
USE_LIBTOOL= yes |
20 |
USE_LIBTOOL= yes |
23 |
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL} |
|
|
24 |
CONFIGURE_ARGS= --enable-static --enable-shared \ |
21 |
CONFIGURE_ARGS= --enable-static --enable-shared \ |
25 |
--with-libiconv-prefix=${LOCALBASE} |
22 |
--with-libiconv-prefix=${LOCALBASE} |
26 |
INSTALLS_SHLIB= yes |
23 |
INSTALLS_SHLIB= yes |
Lines 45-53
Link Here
|
45 |
.else |
42 |
.else |
46 |
CONFIGURE_ARGS+= --enable-threads=no |
43 |
CONFIGURE_ARGS+= --enable-threads=no |
47 |
.endif |
44 |
.endif |
48 |
|
|
|
49 |
post-patch: |
50 |
@${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g' ${WRKSRC}/configure |
51 |
|
45 |
|
52 |
post-install: |
46 |
post-install: |
53 |
.if !defined(NOPORTDOCS) |
47 |
.if !defined(NOPORTDOCS) |