aboutsummaryrefslogtreecommitdiff
path: root/lang/erlang/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'lang/erlang/Makefile')
-rw-r--r--lang/erlang/Makefile12
1 files changed, 7 insertions, 5 deletions
diff --git a/lang/erlang/Makefile b/lang/erlang/Makefile
index 1a3acb117a41..434b8ba33b56 100644
--- a/lang/erlang/Makefile
+++ b/lang/erlang/Makefile
@@ -2,7 +2,7 @@
PORTNAME= erlang
DISTVERSIONPREFIX= OTP-
-DISTVERSION= 21.3.8.21
+DISTVERSION= 21.3.8.22
PORTREVISION= 0
PORTEPOCH= 4
CATEGORIES= lang parallel java
@@ -99,6 +99,8 @@ MANPAGES_RUN_DEPENDS= ${LOCALBASE}/etc/man.d/erlang.conf:lang/erlang-man
NATIVE_CONFIGURE_ENABLE= native-libs
ODBC_CONFIGURE_WITH= odbc
ODBC_LIB_DEPENDS= libodbc.so:databases/unixODBC
+ODBC_CFLAGS= -I/usr/local/include
+ODBC_LDFLAGS= -L/usr/local/lib
OPENSSL_CONFIGURE_WITH= ssl=${OPENSSLBASE}
OPENSSL_USES= ssl
SCTP_CONFIGURE_ENABLE= sctp
@@ -106,8 +108,8 @@ THREADS_CONFIGURE_ENABLE= threads
WX_CONFIGURE_WITH= wx-config=${WX_CONFIG}
WX_USES= gl
WX_VARS= USE_GL="gl glu" \
- USE_WX=2.8+ \
- WX_COMPS="wx contrib"
+ USE_WX=3.1+ \
+ WX_COMPS="wx"
.include <bsd.port.pre.mk>
@@ -220,8 +222,8 @@ post-stage:
${FIND} ${STAGEDIR}${PREFIX}/lib/${ERLANG_LIB}/* -type d -empty -delete
@cd ${STAGEDIR}${PREFIX}; ${FIND} lib/${ERLANG_LIB}/* ${DATADIR_REL}/* -type f -o -type l \
| ${SORT} >> ${TMPPLIST}
- if [ -d ${STAGEDIR}/${DOCSDIR} ]; then \
- @cd ${STAGEDIR}${PREFIX}; ${FIND} ${DOCSDIR_REL}/* -name \*.pdf \
+ @if [ -d ${STAGEDIR}/${DOCSDIR} ]; then \
+ cd ${STAGEDIR}${PREFIX}; ${FIND} ${DOCSDIR_REL}/* -name \*.pdf \
| ${SORT} >> ${TMPPLIST}; \
fi