diff options
author | Jimmy Olgeni <olgeni@FreeBSD.org> | 2005-06-28 12:21:59 +0000 |
---|---|---|
committer | Jimmy Olgeni <olgeni@FreeBSD.org> | 2005-06-28 12:21:59 +0000 |
commit | d10d6a25c4d0a960317c5a2166e62ad7b4c1a616 (patch) | |
tree | d00d49f1522d4a01cbf1f74dcaae289f72450717 /lang/erlang14/Makefile | |
parent | 281977c23582bcbf45525cab7b00357025c0ac80 (diff) | |
download | ports-d10d6a25c4d0a960317c5a2166e62ad7b4c1a616.tar.gz ports-d10d6a25c4d0a960317c5a2166e62ad7b4c1a616.zip |
Notes
Diffstat (limited to 'lang/erlang14/Makefile')
-rw-r--r-- | lang/erlang14/Makefile | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/lang/erlang14/Makefile b/lang/erlang14/Makefile index 98fc962d986a..a75bc5ddee0a 100644 --- a/lang/erlang14/Makefile +++ b/lang/erlang14/Makefile @@ -7,6 +7,7 @@ PORTNAME= erlang PORTVERSION= r10b6 +PORTREVISION= 1 PORTEPOCH= 1 CATEGORIES= lang parallel MASTER_SITES= http://www.erlang.org/download/ \ @@ -26,6 +27,16 @@ COMMENT= A functional programming language from Ericsson RUN_DEPENDS= wish8.4:${PORTSDIR}/x11-toolkits/tk84 .endif +.if !defined(WITHOUT_ODBC) +DRIVER_MANAGER?= iodbc + +.if ${DRIVER_MANAGER} == "unixodbc" +LIB_DEPENDS+= odbc.1:${PORTSDIR}/databases/unixODBC +.else # assume we're using iodbc +LIB_DEPENDS+= iodbc.3:${PORTSDIR}/databases/libiodbc +.endif +.endif + # Set JAVABINDIR to where you have javac, if different from below JAVABINDIR?= ${LOCALBASE}/jdk1.4.2/bin JAVAPORT?= ${JAVABINDIR}/javac:${PORTSDIR}/java/jdk14 @@ -46,6 +57,10 @@ CONFIGURE_TARGET= # Empty CONFIGURE_ARGS+= --enable-threads --enable-hipe --enable-kernel-poll NOPRECIOUSMAKEVARS= yes # Prevent exporting of "ARCH" +CFLAGS+= -I${LOCALBASE}/include +LDFLAGS+= -L${LOCALBASE}/lib +CONFIGURE_ENV= CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" + .include <bsd.port.pre.mk> .if !exists(${JAVABINDIR}/java) |