mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-28 05:29:48 +00:00
Add OPTIONS support.
Obtained from: Jim Wagner <jwagner graffadmin com>
This commit is contained in:
parent
e2ef25ef05
commit
1d755807c4
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=248751
@ -29,6 +29,14 @@ CONFLICTS?= erlang-lite-r[0-9]*
|
||||
SUB_FILES= pkg-message
|
||||
SUB_LIST= TOOLS_VSN=${TOOLS_VSN}
|
||||
|
||||
OPTIONS= JAVA "Enable Java applications" on \
|
||||
X11 "Enable X11 support" on \
|
||||
WX "Enable WX Extensions" on \
|
||||
ODBC "Enable ODBC" on \
|
||||
SMP "Enable SMP" on
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
# The Java applications that are part of the Erlang distribution are
|
||||
# not strictly necessary - it is included for completeness sake. A
|
||||
# problem with the Erlang build procedure is that it only checks if
|
||||
@ -52,7 +60,7 @@ USE_TK_RUN= yes
|
||||
USE_WX= 2.8+
|
||||
WX_COMPS= wx contrib
|
||||
WX_UNICODE= yes
|
||||
CONFIGURE_ARGS+= --with-wx-config=${WX_CONFIG}
|
||||
CONFIGURE_ARGS+=--with-wx-config=${WX_CONFIG}
|
||||
.endif
|
||||
.endif
|
||||
|
||||
@ -64,8 +72,6 @@ ONLY_FOR_ARCHS= i386 amd64 sparc64
|
||||
REINPLACE_ARGS= -i
|
||||
MAKE_JOBS_UNSAFE= yes
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if !defined(WITHOUT_ODBC)
|
||||
DRIVER_MANAGER?= iodbc
|
||||
.if ${DRIVER_MANAGER} == "unixodbc"
|
||||
@ -84,7 +90,11 @@ ERLANG_PLIST= ${WRKDIR}/pkg-plist
|
||||
# enabling --enable-smp-support crashes the OS when
|
||||
# net_kernel:start([node_name, shortnames]) invoked repeatedly
|
||||
|
||||
CONFIGURE_ARGS+= --enable-threads --enable-dynamic-ssl-lib --enable-sctp --enable-smp-support
|
||||
.if !defined(WITHOUT_SMP)
|
||||
CONFIGURE_ARGS+=--enable-threads --enable-dynamic-ssl-lib --enable-sctp --enable-smp-support
|
||||
.else
|
||||
CONFIGURE_ARGS+=--enable-threads --enable-dynamic-ssl-lib --enable-sctp
|
||||
.endif
|
||||
|
||||
CFLAGS+= -I${LOCALBASE}/include
|
||||
LDFLAGS+= -L${LOCALBASE}/lib
|
||||
|
@ -29,6 +29,14 @@ CONFLICTS?= erlang-lite-r[0-9]*
|
||||
SUB_FILES= pkg-message
|
||||
SUB_LIST= TOOLS_VSN=${TOOLS_VSN}
|
||||
|
||||
OPTIONS= JAVA "Enable Java applications" on \
|
||||
X11 "Enable X11 support" on \
|
||||
WX "Enable WX Extensions" on \
|
||||
ODBC "Enable ODBC" on \
|
||||
SMP "Enable SMP" on
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
# The Java applications that are part of the Erlang distribution are
|
||||
# not strictly necessary - it is included for completeness sake. A
|
||||
# problem with the Erlang build procedure is that it only checks if
|
||||
@ -52,7 +60,7 @@ USE_TK_RUN= yes
|
||||
USE_WX= 2.8+
|
||||
WX_COMPS= wx contrib
|
||||
WX_UNICODE= yes
|
||||
CONFIGURE_ARGS+= --with-wx-config=${WX_CONFIG}
|
||||
CONFIGURE_ARGS+=--with-wx-config=${WX_CONFIG}
|
||||
.endif
|
||||
.endif
|
||||
|
||||
@ -64,8 +72,6 @@ ONLY_FOR_ARCHS= i386 amd64 sparc64
|
||||
REINPLACE_ARGS= -i
|
||||
MAKE_JOBS_UNSAFE= yes
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if !defined(WITHOUT_ODBC)
|
||||
DRIVER_MANAGER?= iodbc
|
||||
.if ${DRIVER_MANAGER} == "unixodbc"
|
||||
@ -84,7 +90,11 @@ ERLANG_PLIST= ${WRKDIR}/pkg-plist
|
||||
# enabling --enable-smp-support crashes the OS when
|
||||
# net_kernel:start([node_name, shortnames]) invoked repeatedly
|
||||
|
||||
CONFIGURE_ARGS+= --enable-threads --enable-dynamic-ssl-lib --enable-sctp --enable-smp-support
|
||||
.if !defined(WITHOUT_SMP)
|
||||
CONFIGURE_ARGS+=--enable-threads --enable-dynamic-ssl-lib --enable-sctp --enable-smp-support
|
||||
.else
|
||||
CONFIGURE_ARGS+=--enable-threads --enable-dynamic-ssl-lib --enable-sctp
|
||||
.endif
|
||||
|
||||
CFLAGS+= -I${LOCALBASE}/include
|
||||
LDFLAGS+= -L${LOCALBASE}/lib
|
||||
|
Loading…
Reference in New Issue
Block a user