diff options
Diffstat (limited to 'lang/erlang14')
23 files changed, 0 insertions, 990 deletions
diff --git a/lang/erlang14/Makefile b/lang/erlang14/Makefile deleted file mode 100644 index faa8429dfe00..000000000000 --- a/lang/erlang14/Makefile +++ /dev/null @@ -1,185 +0,0 @@ -# New ports collection makefile for: erlang -# Date created: 11 Dec 1998 -# Whom: ruslan@shevchenko.kiev.ua -# -# $FreeBSD$ -# - -PORTNAME= erlang -PORTVERSION= r12b4 -PORTEPOCH= 1 -CATEGORIES= lang parallel java -MASTER_SITES= http://www.erlang.org/download/ \ - ftp://ftp.erlang.org/pub/download/ \ - http://www.erlang.org/download/ \ - http://erlang.stacken.kth.se/download/ \ - http://www.csd.uu.se/ftp/mirror/erlang/download/ -DISTNAME= otp_src_R12B-4 -DISTFILES= ${DISTNAME}${EXTRACT_SUFX} ${ERLANG_MAN} ${ERLANG_DOCS} -DIST_SUBDIR= erlang -EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX} - -PATCH_SITES= http://www.erlang.org/download/ - -MAINTAINER= olgeni@FreeBSD.org -COMMENT= A functional programming language from Ericsson - -CONFLICTS?= erlang-lite-r[0-9]* - -SUB_FILES= pkg-message -SUB_LIST= TOOLS_VSN=${TOOLS_VSN} - -# 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 -# javac is in the regular path - and then assumes that all of the jdk -# utilities is in the path as well. The only way to make sure that -# this is the case (that I could think of at least) was to make sure -# ${JAVA_HOME}/bin is added to the PATH, using the *_ENV macros. - -.if !defined(WITHOUT_JAVA) -USE_JAVA= yes -JAVA_VERSION= 1.4+ -# Make sure ${JAVA_HOME}/bin is in the path -CONFIGURE_ENV+= PATH=${PATH}:${JAVA_HOME}/bin -MAKE_ENV+= PATH=${PATH}:${JAVA_HOME}/bin -SCRIPT_ENV+= PATH=${PATH}:${JAVA_HOME}/bin -.endif - -.if !defined(WITHOUT_X11) -USE_TK_RUN= yes -.endif - -USE_GMAKE= yes -USE_PERL5= yes -USE_RC_SUBR= epmd.sh -GNU_CONFIGURE= yes -ONLY_FOR_ARCHS= i386 amd64 sparc64 -REINPLACE_ARGS= -i - -.include <bsd.port.pre.mk> - -.if defined(WITHOUT_JAVA) && ${ARCH} == "amd64" && ${OSVERSION} < 600000 -BROKEN= does not compile -.endif - -.if ${OSVERSION} < 502102 -WITHOUT_ODBC= yes -.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 - -ERLANG_MAN= otp_doc_man_R12B-4.tar.gz -.if !defined(NOPORTDOCS) -ERLANG_DOCS= otp_doc_html_R12B-4.tar.gz -.endif -ERLANG_PLIST= ${WRKDIR}/pkg-plist - -CONFIGURE_ARGS+= --enable-threads --enable-dynamic-ssl-lib -NOPRECIOUSMAKEVARS= yes # Prevent exporting of "ARCH" - -CFLAGS+= -I${LOCALBASE}/include -LDFLAGS+= -L${LOCALBASE}/lib -CONFIGURE_ENV= CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" -PLIST_SUB+= ERTS_VSN=${ERTS_VSN} TOOLS_VSN=${TOOLS_VSN} - -# The man-pages are put (in spite of FreeBSD's port convention) in a private -# subdir. This is to avoid cluttering up the man page name space. Also the -# Erlang man pages are more of internal documentation using the man format than -# actual system man pages. (erl.1 and epmd.1 perhaps being the exception). - -NOMANCOMPRESS= yes - -MAN1PREFIX= ${PREFIX}/lib/erlang -MAN3PREFIX= ${PREFIX}/lib/erlang -MAN4PREFIX= ${PREFIX}/lib/erlang -MAN6PREFIX= ${PREFIX}/lib/erlang - -pre-configure: -# Check if ${JAVAC} exists. -.if !defined(WITHOUT_JAVA) - @if [ ! -x ${JAVAC} ]; then \ - ${ECHO_MSG} ">> Error: cannot find ${JAVAC}."; \ - exit 1; \ - fi -.endif - -# If X11 is not used, skip the gs application. -.if defined(WITHOUT_X11) - @${ECHO_CMD} "WITHOUT_X11 defined" > ${WRKSRC}/lib/gs/SKIP -.endif - -# If ODBC is not used, skip the odbc application. -.if defined(WITHOUT_ODBC) - @${ECHO_CMD} "WITHOUT_ODBC defined" > ${WRKSRC}/lib/odbc/SKIP -.endif - -# Install documentation. (HTML docs need to be in same dir as the -# rest, not in share/doc/erlang as it should, because of relative -# links in the documentation. -post-install: - @${LN} -sf ${LOCALBASE}/lib/erlang/lib/erl_interface-*/bin/erl_call ${LOCALBASE}/bin/erl_call - @${TAR} --unlink -xzpf ${DISTDIR}/${DIST_SUBDIR}/${ERLANG_MAN} \ - -C ${PREFIX}/lib/erlang - @${RM} -rf ${PREFIX}/lib/erlang/man/cat? -.if !defined(NOPORTDOCS) - @${TAR} --unlink -xzpf ${DISTDIR}/${DIST_SUBDIR}/${ERLANG_DOCS} \ - -C ${PREFIX}/lib/erlang - @${INSTALL_DATA} ${WRKSRC}/lib/dialyzer/doc/*.txt \ - ${LOCALBASE}/lib/erlang/lib/dialyzer-*/doc/ -.endif - @${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${PREFIX}/lib/erlang - @${CHMOD} -R o+rX-w,g+rX-w ${PREFIX}/lib/erlang - -# All non-library files. - - @cd ${PREFIX} ; ${FIND} lib/erlang/* -type f -o -type l \ - | ${GREP} -v "^lib/erlang/man" \ - | ${GREP} -v "^lib/erlang/lib" \ - | ${SORT} \ - > ${ERLANG_PLIST} - -# Stock OTP libraries. - - @for LIBRARY in ${OTP_LIBS}; do \ - cd ${PREFIX} ; ${FIND} lib/erlang/lib/$${LIBRARY} -type f -o -type l; \ - done | ${SORT} >> ${ERLANG_PLIST} - -# Stock OTP library directories. - - @for LIBRARY in ${OTP_LIBS}; do \ - cd ${PREFIX} ; ${FIND} lib/erlang/lib/$${LIBRARY} -type d -empty \ - | ${SED} -e 's#^#@exec ${MKDIR} %D/#g'; \ - done | ${SORT} >> ${ERLANG_PLIST} - - @for LIBRARY in ${OTP_LIBS}; do \ - cd ${PREFIX} ; ${FIND} lib/erlang/lib/$${LIBRARY} -type d \ - | ${SED} -e 's/^/@dirrm /g'; \ - done | ${SORT} -r >> ${ERLANG_PLIST} - -# Other directories. - - @cd ${PREFIX} ; ${FIND} lib/erlang/* -type d | ${SORT} -r \ - | ${GREP} -v "^lib/erlang/man" \ - | ${GREP} -v "^lib/erlang/lib" \ - | ${SED} -e 's/^/@dirrm /g' \ - >> ${ERLANG_PLIST} - - @${ECHO_CMD} "r ${TMPPLIST}" > ${WRKDIR}/ex.script - @${ECHO_CMD} "/Insert PLIST here" >> ${WRKDIR}/ex.script - @${ECHO_CMD} "d" >> ${WRKDIR}/ex.script - @${ECHO_CMD} "r ${ERLANG_PLIST}" >> ${WRKDIR}/ex.script - @${ECHO_CMD} "x!" >> ${WRKDIR}/ex.script - @cd ${WRKDIR} ; ex < ex.script - -.include "Makefile.lib" -.include "Makefile.man" - -.include <bsd.port.post.mk> diff --git a/lang/erlang14/Makefile.lib b/lang/erlang14/Makefile.lib deleted file mode 100644 index e0f7d7c7489a..000000000000 --- a/lang/erlang14/Makefile.lib +++ /dev/null @@ -1,53 +0,0 @@ -# $FreeBSD$ - -ERTS_VSN= 5.6.4 -TOOLS_VSN= 2.6.2 -OTP_LIBS= appmon-2.1.9 \ - asn1-1.6 \ - common_test-1.3.3 \ - compiler-4.5.4 \ - cosEvent-2.1.3 \ - cosEventDomain-1.1.3 \ - cosFileTransfer-1.1.5 \ - cosNotification-1.1.7 \ - cosProperty-1.1.6 \ - cosTime-1.1.3 \ - cosTransactions-1.2.4 \ - crypto-1.5.2.1 \ - debugger-3.1.1.3 \ - dialyzer-1.8.2 \ - docbuilder-0.9.8.4 \ - edoc-0.7.6 \ - erl_interface-3.5.8 \ - et-1.3 \ - gs-1.5.9 \ - hipe-3.6.8 \ - ic-4.2.18 \ - inets-5.0.10 \ - inviso-0.6 \ - jinterface-1.4.1 \ - kernel-2.12.4 \ - megaco-3.8.1 \ - mnesia-4.4.5 \ - observer-0.9.7.4 \ - odbc-2.10.3 \ - orber-3.6.9 \ - os_mon-2.1.7 \ - otp_mibs-1.0.4.1 \ - parsetools-1.4.5 \ - percept-0.7.2 \ - pman-2.6 \ - runtime_tools-1.7.2 \ - sasl-2.1.5.3 \ - snmp-4.11.1 \ - ssh-1.0 \ - ssl-3.9 \ - stdlib-1.15.4 \ - syntax_tools-1.5.5 \ - test_server-3.2.3 \ - toolbar-1.3.0.1 \ - tools-2.6.2 \ - tv-2.1.4.2 \ - typer-0.1.4 \ - webtool-0.8.3.2 \ - xmerl-1.1.10 diff --git a/lang/erlang14/Makefile.man b/lang/erlang14/Makefile.man deleted file mode 100644 index dc3690e0a0d2..000000000000 --- a/lang/erlang14/Makefile.man +++ /dev/null @@ -1,374 +0,0 @@ -# $FreeBSD$ - -MAN1= epmd.1 \ - erl.1 \ - erl_call.1 \ - erlc.1 \ - erlsrv.1 \ - escript.1 \ - run_erl.1 \ - start.1 \ - start_erl.1 \ - start_webtool.1 \ - werl.1 - -MAN3= CosEventChannelAdmin.3 \ - CosEventChannelAdmin_ConsumerAdmin.3 \ - CosEventChannelAdmin_EventChannel.3 \ - CosEventChannelAdmin_ProxyPullConsumer.3 \ - CosEventChannelAdmin_ProxyPullSupplier.3 \ - CosEventChannelAdmin_ProxyPushConsumer.3 \ - CosEventChannelAdmin_ProxyPushSupplier.3 \ - CosEventChannelAdmin_SupplierAdmin.3 \ - CosEventDomainAdmin.3 \ - CosEventDomainAdmin_EventDomain.3 \ - CosEventDomainAdmin_EventDomainFactory.3 \ - CosFileTransfer_Directory.3 \ - CosFileTransfer_File.3 \ - CosFileTransfer_FileIterator.3 \ - CosFileTransfer_FileTransferSession.3 \ - CosFileTransfer_VirtualFileSystem.3 \ - CosNaming.3 \ - CosNaming_BindingIterator.3 \ - CosNaming_NamingContext.3 \ - CosNaming_NamingContextExt.3 \ - CosNotification.3 \ - CosNotification_AdminPropertiesAdmin.3 \ - CosNotification_QoSAdmin.3 \ - CosNotifyChannelAdmin_ConsumerAdmin.3 \ - CosNotifyChannelAdmin_EventChannel.3 \ - CosNotifyChannelAdmin_EventChannelFactory.3 \ - CosNotifyChannelAdmin_ProxyConsumer.3 \ - CosNotifyChannelAdmin_ProxyPullConsumer.3 \ - CosNotifyChannelAdmin_ProxyPullSupplier.3 \ - CosNotifyChannelAdmin_ProxyPushConsumer.3 \ - CosNotifyChannelAdmin_ProxyPushSupplier.3 \ - CosNotifyChannelAdmin_ProxySupplier.3 \ - CosNotifyChannelAdmin_SequenceProxyPullConsumer.3 \ - CosNotifyChannelAdmin_SequenceProxyPullSupplier.3 \ - CosNotifyChannelAdmin_SequenceProxyPushConsumer.3 \ - CosNotifyChannelAdmin_SequenceProxyPushSupplier.3 \ - CosNotifyChannelAdmin_StructuredProxyPullConsumer.3 \ - CosNotifyChannelAdmin_StructuredProxyPullSupplier.3 \ - CosNotifyChannelAdmin_StructuredProxyPushConsumer.3 \ - CosNotifyChannelAdmin_StructuredProxyPushSupplier.3 \ - CosNotifyChannelAdmin_SupplierAdmin.3 \ - CosNotifyComm_NotifyPublish.3 \ - CosNotifyComm_NotifySubscribe.3 \ - CosNotifyFilter_Filter.3 \ - CosNotifyFilter_FilterAdmin.3 \ - CosNotifyFilter_FilterFactory.3 \ - CosNotifyFilter_MappingFilter.3 \ - CosPropertyService_PropertiesIterator.3 \ - CosPropertyService_PropertyNamesIterator.3 \ - CosPropertyService_PropertySet.3 \ - CosPropertyService_PropertySetDef.3 \ - CosPropertyService_PropertySetDefFactory.3 \ - CosPropertyService_PropertySetFactory.3 \ - CosTime_TIO.3 \ - CosTime_TimeService.3 \ - CosTime_UTO.3 \ - CosTimerEvent_TimerEventHandler.3 \ - CosTimerEvent_TimerEventService.3 \ - CosTransactions_Control.3 \ - CosTransactions_Coordinator.3 \ - CosTransactions_RecoveryCoordinator.3 \ - CosTransactions_Resource.3 \ - CosTransactions_SubtransactionAwareResource.3 \ - CosTransactions_Terminator.3 \ - CosTransactions_TransactionFactory.3 \ - Module_Interface.3 \ - alarm_handler.3 \ - any.3 \ - application.3 \ - appmon.3 \ - array.3 \ - asn1ct.3 \ - asn1rt.3 \ - auth.3 \ - base64.3 \ - beam_lib.3 \ - c.3 \ - calendar.3 \ - code.3 \ - compile.3 \ - corba.3 \ - corba_object.3 \ - cosEventApp.3 \ - cosEventDomainApp.3 \ - cosFileTransferApp.3 \ - cosNotificationApp.3 \ - cosProperty.3 \ - cosTime.3 \ - cosTransactions.3 \ - cover.3 \ - cprof.3 \ - cpu_sup.3 \ - crashdump.3 \ - crypto.3 \ - ct.3 \ - ct_cover.3 \ - ct_ftp.3 \ - ct_master.3 \ - ct_rpc.3 \ - ct_snmp.3 \ - ct_telnet.3 \ - dbg.3 \ - debugger.3 \ - dets.3 \ - dialyzer.3 \ - dict.3 \ - digraph.3 \ - digraph_utils.3 \ - disk_log.3 \ - disksup.3 \ - docb_gen.3 \ - docb_transform.3 \ - docb_xml_check.3 \ - driver_entry.3 \ - edoc.3 \ - edoc_doclet.3 \ - edoc_extract.3 \ - edoc_layout.3 \ - edoc_lib.3 \ - edoc_run.3 \ - egd.3 \ - ei.3 \ - ei_connect.3 \ - epp.3 \ - epp_dodger.3 \ - eprof.3 \ - erl_boot_server.3 \ - erl_comment_scan.3 \ - erl_connect.3 \ - erl_ddll.3 \ - erl_driver.3 \ - erl_error.3 \ - erl_eterm.3 \ - erl_eval.3 \ - erl_expand_records.3 \ - erl_format.3 \ - erl_global.3 \ - erl_id_trans.3 \ - erl_internal.3 \ - erl_lint.3 \ - erl_malloc.3 \ - erl_marshal.3 \ - erl_parse.3 \ - erl_pp.3 \ - erl_prettypr.3 \ - erl_prim_loader.3 \ - erl_recomment.3 \ - erl_scan.3 \ - erl_set_memory_block.3 \ - erl_syntax.3 \ - erl_syntax_lib.3 \ - erl_tar.3 \ - erl_tidy.3 \ - erlang.3 \ - erlang_mode.3 \ - error_handler.3 \ - error_logger.3 \ - erts_alloc.3 \ - erts_alloc_config.3 \ - et.3 \ - et_collector.3 \ - et_selector.3 \ - et_viewer.3 \ - etop.3 \ - ets.3 \ - file.3 \ - file_sorter.3 \ - filelib.3 \ - filename.3 \ - fixed.3 \ - fprof.3 \ - ftp.3 \ - gb_sets.3 \ - gb_trees.3 \ - gen_event.3 \ - gen_fsm.3 \ - gen_sctp.3 \ - gen_server.3 \ - gen_tcp.3 \ - gen_udp.3 \ - global.3 \ - global_group.3 \ - gs.3 \ - heart.3 \ - http.3 \ - httpd.3 \ - httpd_conf.3 \ - httpd_socket.3 \ - httpd_util.3 \ - i.3 \ - ic.3 \ - ic_c_protocol.3 \ - ic_clib.3 \ - igor.3 \ - inet.3 \ - inets.3 \ - init.3 \ - instrument.3 \ - int.3 \ - interceptors.3 \ - inviso.3 \ - inviso_as_lib.3 \ - inviso_lfm.3 \ - inviso_lfm_tpfreader.3 \ - inviso_rt.3 \ - inviso_rt_meta.3 \ - io.3 \ - io_lib.3 \ - lib.3 \ - lists.3 \ - lname.3 \ - lname_component.3 \ - log_mf_h.3 \ - make.3 \ - math.3 \ - megaco.3 \ - megaco_codec_meas.3 \ - megaco_codec_transform.3 \ - megaco_edist_compress.3 \ - megaco_encoder.3 \ - megaco_flex_scanner.3 \ - megaco_tcp.3 \ - megaco_transport.3 \ - megaco_udp.3 \ - megaco_user.3 \ - memsup.3 \ - mnesia.3 \ - mnesia_frag_hash.3 \ - mnesia_registry.3 \ - mod_alias.3 \ - mod_auth.3 \ - mod_esi.3 \ - mod_security.3 \ - ms_transform.3 \ - net_adm.3 \ - net_kernel.3 \ - new_ssl.3 \ - nteventlog.3 \ - odbc.3 \ - orber.3 \ - orber_acl.3 \ - orber_diagnostics.3 \ - orber_ifr.3 \ - orber_tc.3 \ - orddict.3 \ - ordsets.3 \ - os.3 \ - os_mon.3 \ - os_mon_mib.3 \ - os_sup.3 \ - otp_mib.3 \ - overload.3 \ - packages.3 \ - percept.3 \ - percept_profile.3 \ - pg.3 \ - pg2.3 \ - pman.3 \ - pool.3 \ - prettypr.3 \ - proc_lib.3 \ - proplists.3 \ - qlc.3 \ - queue.3 \ - random.3 \ - rb.3 \ - re.3 \ - regexp.3 \ - registry.3 \ - release_handler.3 \ - rpc.3 \ - seq_trace.3 \ - sets.3 \ - shell.3 \ - shell_default.3 \ - slave.3 \ - snmp.3 \ - snmp_community_mib.3 \ - snmp_framework_mib.3 \ - snmp_generic.3 \ - snmp_index.3 \ - snmp_notification_mib.3 \ - snmp_pdus.3 \ - snmp_standard_mib.3 \ - snmp_target_mib.3 \ - snmp_user_based_sm_mib.3 \ - snmp_view_based_acm_mib.3 \ - snmpa.3 \ - snmpa_conf.3 \ - snmpa_error.3 \ - snmpa_error_io.3 \ - snmpa_error_logger.3 \ - snmpa_error_report.3 \ - snmpa_local_db.3 \ - snmpa_mpd.3 \ - snmpa_network_interface.3 \ - snmpa_network_interface_filter.3 \ - snmpa_notification_delivery_info_receiver.3 \ - snmpa_notification_filter.3 \ - snmpa_supervisor.3 \ - snmpc.3 \ - snmpm.3 \ - snmpm_conf.3 \ - snmpm_mpd.3 \ - snmpm_network_interface.3 \ - snmpm_user.3 \ - sofs.3 \ - ssh.3 \ - ssh_connection.3 \ - ssh_sftp.3 \ - ssh_sftpd.3 \ - ssl.3 \ - ssl_pkix.3 \ - string.3 \ - supervisor.3 \ - supervisor_bridge.3 \ - sys.3 \ - systools.3 \ - tags.3 \ - test_server.3 \ - test_server_ctrl.3 \ - tftp.3 \ - timer.3 \ - toolbar.3 \ - ttb.3 \ - tv.3 \ - unix_telnet.3 \ - user.3 \ - webtool.3 \ - win32reg.3 \ - wrap_log_reader.3 \ - xmerl.3 \ - xmerl_eventp.3 \ - xmerl_scan.3 \ - xmerl_xpath.3 \ - xmerl_xs.3 \ - xmerl_xsd.3 \ - xref.3 \ - yecc.3 \ - zip.3 \ - zlib.3 - -MAN4= app.4 \ - appup.4 \ - config.4 \ - rel.4 \ - relup.4 \ - script.4 - -MAN6= common_test.6 \ - crypto.6 \ - docbuilder.6 \ - kernel.6 \ - observer.6 \ - runtime_tools.6 \ - sasl.6 \ - snmp.6 \ - ssl.6 \ - stdlib.6 \ - test_server.6 diff --git a/lang/erlang14/distinfo b/lang/erlang14/distinfo deleted file mode 100644 index b22549804bd9..000000000000 --- a/lang/erlang14/distinfo +++ /dev/null @@ -1,9 +0,0 @@ -MD5 (erlang/otp_src_R12B-4.tar.gz) = ae81edda4a17506af7a9d73abca033b2 -SHA256 (erlang/otp_src_R12B-4.tar.gz) = abe19407b7557fd1e25f08adb8a387c144d994a2134c467fb2dca7fb7dc061f4 -SIZE (erlang/otp_src_R12B-4.tar.gz) = 44405399 -MD5 (erlang/otp_doc_man_R12B-4.tar.gz) = ef8f96d1721a2345cc87b208cde3de06 -SHA256 (erlang/otp_doc_man_R12B-4.tar.gz) = 0a63469e62a3bd3ad35b787ffc938b5e3c0c0cd49d8f744df718c8aabbeb2226 -SIZE (erlang/otp_doc_man_R12B-4.tar.gz) = 814528 -MD5 (erlang/otp_doc_html_R12B-4.tar.gz) = f633cd418d8260af7a11c998aa88072b -SHA256 (erlang/otp_doc_html_R12B-4.tar.gz) = 00c16e09dbe7510efd4ff121347e08eb4b715ee4c82cafec75fdfeedfc40a923 -SIZE (erlang/otp_doc_html_R12B-4.tar.gz) = 5674796 diff --git a/lang/erlang14/files/epmd.sh.in b/lang/erlang14/files/epmd.sh.in deleted file mode 100644 index ea57aa23cdc0..000000000000 --- a/lang/erlang14/files/epmd.sh.in +++ /dev/null @@ -1,26 +0,0 @@ -#!/bin/sh -# -# $FreeBSD$ -# -# PROVIDE: epmd -# REQUIRE: LOGIN -# -# Add the following line to /etc/rc.conf to enable epmd: -# -# epmd_enable="YES" -# - -epmd_enable=${epmd_enable:-"NO"} - -. %%RC_SUBR%% - -name=epmd -rcvar=`set_rcvar` - -prefix=%%PREFIX%% -procname=${prefix}/bin/epmd -start_cmd="${prefix}/bin/epmd -daemon" -stop_cmd="${prefix}/bin/epmd -kill >/dev/null" - -load_rc_config ${name} -run_rc_command "$1" diff --git a/lang/erlang14/files/patch-aj b/lang/erlang14/files/patch-aj deleted file mode 100644 index c3b2f87f73c6..000000000000 --- a/lang/erlang14/files/patch-aj +++ /dev/null @@ -1,11 +0,0 @@ - -$FreeBSD$ - ---- erts/etc/unix/Install.src.orig Thu Oct 7 15:45:43 2004 -+++ erts/etc/unix/Install.src Thu Oct 7 15:45:59 2004 -@@ -157,4 +157,4 @@ - ./misc/format_man_pages $ERL_ROOT - fi - -- -+exit 0 diff --git a/lang/erlang14/files/patch-erts-emulator-Makefile.in b/lang/erlang14/files/patch-erts-emulator-Makefile.in deleted file mode 100644 index 9910f98f5f1c..000000000000 --- a/lang/erlang14/files/patch-erts-emulator-Makefile.in +++ /dev/null @@ -1,25 +0,0 @@ - -$FreeBSD$ - ---- erts/emulator/Makefile.in.orig -+++ erts/emulator/Makefile.in -@@ -265,8 +265,10 @@ - endif - WITH_SCTP=@WITH_SCTP@ - ifdef WITH_SCTP -+ifneq ($(findstring freebsd,$(TARGET)),freebsd) - LIBS += -lsctp - endif -+endif - - ORG_THR_LIBS=@EMU_THR_LIBS@ - THR_LIB_NAME=@EMU_THR_LIB_NAME@ -@@ -544,7 +546,7 @@ - endif - - $(OBJDIR)/%.o: beam/%.c -- $(CC) $(subst -O2, $(GEN_OPT_FLGS), $(CFLAGS)) $(INCLUDES) -c $< -o $@ -+ $(CC) $(INCLUDES) $(subst -O2, $(GEN_OPT_FLGS), $(CFLAGS)) -c $< -o $@ - - else - diff --git a/lang/erlang14/files/patch-erts_config.h.in b/lang/erlang14/files/patch-erts_config.h.in deleted file mode 100644 index 0cb9747c20e1..000000000000 --- a/lang/erlang14/files/patch-erts_config.h.in +++ /dev/null @@ -1,17 +0,0 @@ - -$FreeBSD$ - ---- erts/config.h.in.orig -+++ erts/config.h.in -@@ -366,6 +366,10 @@ - /* Define to 1 if `ssh_data' is member of `struct sctp_send_failed'. */ - #undef HAVE_STRUCT_SCTP_SEND_FAILED_SSH_DATA - -+/* Define to 1 if `sctp_adaptation_layer_event' is member of -+ `struct sctp_event_subscribe'. */ -+#undef HAVE_STRUCT_SCTP_EVENT_SUBSCRIBE_SCTP_ADAPTATION_LAYER_EVENT -+ - /* Define to 1 if you have the <syslog.h> header file. */ - #undef HAVE_SYSLOG_H - - diff --git a/lang/erlang14/files/patch-erts_emulator_beam_erl__process__dump.c b/lang/erlang14/files/patch-erts_emulator_beam_erl__process__dump.c deleted file mode 100644 index cdccf8671ff6..000000000000 --- a/lang/erlang14/files/patch-erts_emulator_beam_erl__process__dump.c +++ /dev/null @@ -1,27 +0,0 @@ - -$FreeBSD$ - ---- erts/emulator/beam/erl_process_dump.c.orig -+++ erts/emulator/beam/erl_process_dump.c -@@ -399,9 +399,11 @@ - static void - dump_externally(int to, void *to_arg, Eterm term) - { -- byte sbuf[1024]; /* encode and hope for the best ... */ -- byte* s; -- byte* p; -+ byte *sbuf, *s, *p; -+ unsigned size; -+ -+ size = encode_size_struct(term, TERM_TO_BINARY_DFLAGS); -+ sbuf = (byte *) erts_alloc(ERTS_ALC_T_TMP, size); - - s = p = sbuf; - erts_to_external_format(NULL, term, &p, NULL, NULL); -@@ -409,4 +411,6 @@ - while (s < p) { - erts_print(to, to_arg, "%02X", *s++); - } -+ -+ erts_free(ERTS_ALC_T_TMP, (void *) sbuf); - } diff --git a/lang/erlang14/files/patch-erts_emulator_hipe_hipe__x86.c b/lang/erlang14/files/patch-erts_emulator_hipe_hipe__x86.c deleted file mode 100644 index b7086a076357..000000000000 --- a/lang/erlang14/files/patch-erts_emulator_hipe_hipe__x86.c +++ /dev/null @@ -1,14 +0,0 @@ - -$FreeBSD$ - ---- erts/emulator/hipe/hipe_x86.c.orig -+++ erts/emulator/hipe/hipe_x86.c -@@ -106,7 +106,7 @@ - abort(); - map_start = mmap(map_hint, map_bytes, - PROT_EXEC|PROT_READ|PROT_WRITE, -- MAP_PRIVATE|MAP_ANONYMOUS -+ MAP_PRIVATE|MAP_ANON - #ifdef __x86_64__ - |MAP_32BIT - #endif diff --git a/lang/erlang14/files/patch-lib_asn1_c__src_Makefile.in b/lang/erlang14/files/patch-lib_asn1_c__src_Makefile.in deleted file mode 100644 index 7ae33c2bc61d..000000000000 --- a/lang/erlang14/files/patch-lib_asn1_c__src_Makefile.in +++ /dev/null @@ -1,14 +0,0 @@ - -$FreeBSD$ - ---- lib/asn1/c_src/Makefile.in.orig Sun Aug 31 14:45:35 2003 -+++ lib/asn1/c_src/Makefile.in Sun Aug 31 14:45:42 2003 -@@ -131,7 +131,7 @@ - $(CC) -c $(CFLAGS) -o $(OBJ_FILES) $(C_FILES) - - $(SHARED_OBJ_FILES): $(OBJ_FILES) $(LIBDIR) -- $(LD) $(LDFLAGS) $(LD_INCL_EI) -o $(SHARED_OBJ_FILES) $(OBJ_FILES) $(LD_EI) $(CLIB_FLAGS) $(LIBS) -+ $(LD) $(LDFLAGS) $(LD_INCL_EI) -o $(SHARED_OBJ_FILES) $(OBJ_FILES) $(LD_EI) - - $(LIBDIR): - -mkdir -p $(LIBDIR) diff --git a/lang/erlang14/files/patch-lib_crypto_c__src_Makefile.in b/lang/erlang14/files/patch-lib_crypto_c__src_Makefile.in deleted file mode 100644 index 81e0ce9e83b3..000000000000 --- a/lang/erlang14/files/patch-lib_crypto_c__src_Makefile.in +++ /dev/null @@ -1,14 +0,0 @@ - -$FreeBSD$ - ---- lib/crypto/c_src/Makefile.in.orig Thu Oct 7 12:11:06 2004 -+++ lib/crypto/c_src/Makefile.in Thu Oct 7 12:11:07 2004 -@@ -121,7 +121,7 @@ - release_spec: opt - $(INSTALL_DIR) $(RELSYSDIR)/priv/obj - $(INSTALL_DIR) $(RELSYSDIR)/priv/lib -- $(INSTALL_PROGRAM) $(DRV_MAKEFILE) $(RELSYSDIR)/priv/obj -+ $(INSTALL_DATA) $(DRV_MAKEFILE) $(RELSYSDIR)/priv/obj - $(INSTALL_PROGRAM) $(OBJS) $(RELSYSDIR)/priv/obj - $(INSTALL_PROGRAM) $(DYN_DRIVER) $(RELSYSDIR)/priv/lib - diff --git a/lang/erlang14/files/patch-lib_erl__interface_src_connect_ei__resolve.c b/lang/erlang14/files/patch-lib_erl__interface_src_connect_ei__resolve.c deleted file mode 100644 index d8454c710f69..000000000000 --- a/lang/erlang14/files/patch-lib_erl__interface_src_connect_ei__resolve.c +++ /dev/null @@ -1,15 +0,0 @@ - -$FreeBSD$ - ---- lib/erl_interface/src/connect/ei_resolve.c.orig -+++ lib/erl_interface/src/connect/ei_resolve.c -@@ -621,7 +621,8 @@ - - return result; - #else -- return gethostbyname_r(name,hostp,buffer,buflen,h_errnop); -+ struct hostent *dummy; -+ return gethostbyname_r(name,hostp,buffer,buflen,&dummy,h_errnop); - #endif - #endif - #endif diff --git a/lang/erlang14/files/patch-lib_et_src_et__contents__viewer.erl b/lang/erlang14/files/patch-lib_et_src_et__contents__viewer.erl deleted file mode 100644 index 683358dbf6da..000000000000 --- a/lang/erlang14/files/patch-lib_et_src_et__contents__viewer.erl +++ /dev/null @@ -1,13 +0,0 @@ - -$FreeBSD$ - ---- lib/et/src/et_contents_viewer.erl.orig Sat Jul 24 15:04:01 2004 -+++ lib/et/src/et_contents_viewer.erl Sat Jul 24 15:04:31 2004 -@@ -346,7 +346,6 @@ - 'Caps_Lock' -> - {noreply, S}; - _ -> -- io:format("~p: ignored: ~p~n", [?MODULE, KeySym]), - {noreply, S} - end; - handle_info({gs, _Obj, configure, [], [W, H | _]}, S) -> diff --git a/lang/erlang14/files/patch-lib_et_src_et__viewer.erl b/lang/erlang14/files/patch-lib_et_src_et__viewer.erl deleted file mode 100644 index 8cc3212e49e2..000000000000 --- a/lang/erlang14/files/patch-lib_et_src_et__viewer.erl +++ /dev/null @@ -1,15 +0,0 @@ - -$FreeBSD$ - ---- lib/et/src/et_viewer.erl.orig Sat Jul 24 15:02:18 2004 -+++ lib/et/src/et_viewer.erl Sat Jul 24 15:04:38 2004 -@@ -982,8 +982,7 @@ - noreply(S). - - click_error(Click, S) -> -- gs:config(S#state.canvas, beep), -- io:format("~p: ignored: ~p~n", [?MODULE, Click]). -+ gs:config(S#state.canvas, beep). - - %%%---------------------------------------------------------------------- - %%% Clone viewer diff --git a/lang/erlang14/files/patch-lib_gs_src_tool__utils.erl b/lang/erlang14/files/patch-lib_gs_src_tool__utils.erl deleted file mode 100644 index ddc1ecb98b12..000000000000 --- a/lang/erlang14/files/patch-lib_gs_src_tool__utils.erl +++ /dev/null @@ -1,87 +0,0 @@ - -$FreeBSD$ - ---- lib/gs/src/tool_utils.erl.orig -+++ lib/gs/src/tool_utils.erl -@@ -27,6 +27,9 @@ - -export([file_dialog/1]). - -export([notify/2, confirm/2, confirm_yesno/2, request/2]). - -+%% Browser executable list (openURL command line protocol required) -+-define(BROWSERS, ["netscape", "mozilla", "MozillaFirebird", "opera"]). -+ - %%---------------------------------------------------------------------- - %% open_help(GS, File) - %% GS = gsobj() (GS root object returned by gs:start/0,1) -@@ -67,7 +70,7 @@ - {unix,Type} -> - case Type of - darwin -> "open " ++ File; -- _Else -> "netscape -remote \"openURL(file:" ++ File ++ ")\"" -+ _Else -> unix_url_command("file:" ++ File) - end; - {win32,_AnyType} -> - "start " ++ filename:nativename(File); -@@ -82,7 +85,7 @@ - {unix,Type} -> - case Type of - darwin -> "open " ++ File; -- _Else -> "netscape -remote \"openURL(file:" ++ File ++ ")\"" -+ _Else -> unix_url_command("file:" ++ File) - end; - {win32,_AnyType} -> - "netscape.exe -h " ++ regexp:gsub(File,"\\\\","/"); -@@ -342,3 +345,53 @@ - [Last]; - insert_newlines(Other) -> - Other. -+ -+%% find_browser(BrowserList) => string() | false -+%% BrowserList - [string()] -+%% Given a list of basenames, find the first available executable. -+ -+find_browser([]) -> -+ false; -+ -+find_browser([H | T]) -> -+ case os:find_executable(H) of -+ false -> -+ find_browser(T); -+ Browser -> -+ Browser -+ end. -+ -+%% unix_url_command(URL) => string() -+%% URL - string() -+%% Open an URL, using a browser which supports the openURL command -+%% line protocol. If no browser is found, the empty string will be -+%% returned. -+ -+unix_url_command(URL) -> -+ Template = "BROWSER -remote \"openURL(" ++ URL ++ ")\" || BROWSER " ++ URL ++ "&", -+ -+ case os:getenv("BROWSER") of -+ false -> -+ %% look for a compatible browser -+ case find_browser(?BROWSERS) of -+ false -> -+ ""; -+ Browser -> -+ case regexp:gsub(Template, "BROWSER", Browser) of -+ {ok, Command, 0} -> -+ %% Template does not contain "BROWSER" placeholder -+ ""; -+ {ok, Command, _} -> -+ Command -+ end -+ end; -+ -+ Value -> -+ case regexp:gsub(Template, "BROWSER", Value) of -+ {ok, Command2, 0} -> -+ %% no placeholder -+ ""; -+ {ok, Command2, _} -> -+ Command2 -+ end -+ end. diff --git a/lang/erlang14/files/patch-lib_odbc_c_src_odbcserver.c b/lang/erlang14/files/patch-lib_odbc_c_src_odbcserver.c deleted file mode 100644 index 985785bd8e26..000000000000 --- a/lang/erlang14/files/patch-lib_odbc_c_src_odbcserver.c +++ /dev/null @@ -1,10 +0,0 @@ ---- lib/odbc/c_src/odbcserver.c.orig Sat Jun 25 17:34:20 2005 -+++ lib/odbc/c_src/odbcserver.c Sat Jun 25 17:34:33 2005 -@@ -107,6 +107,7 @@ - #include <sys/socket.h> - #include <sys/uio.h> - #include <netdb.h> -+#include <netinet/in.h> - #endif - - #include "ei.h" diff --git a/lang/erlang14/files/patch-lib_os__mon_c__src_memsup.c b/lang/erlang14/files/patch-lib_os__mon_c__src_memsup.c deleted file mode 100644 index a06769e90cbe..000000000000 --- a/lang/erlang14/files/patch-lib_os__mon_c__src_memsup.c +++ /dev/null @@ -1,14 +0,0 @@ - -$FreeBSD$ - ---- lib/os_mon/c_src/memsup.c.orig -+++ lib/os_mon/c_src/memsup.c -@@ -404,7 +404,7 @@ - #endif - - #if defined(BSD4_4) --static void -+static int - get_extended_mem_bsd4(memory_ext *me) { - struct vmtotal vt; - long pgsz; diff --git a/lang/erlang14/files/patch-lib_sasl_src_rb.erl b/lang/erlang14/files/patch-lib_sasl_src_rb.erl deleted file mode 100644 index 79b3961b0f00..000000000000 --- a/lang/erlang14/files/patch-lib_sasl_src_rb.erl +++ /dev/null @@ -1,14 +0,0 @@ - -$FreeBSD$ - ---- lib/sasl/src/rb.erl.orig -+++ lib/sasl/src/rb.erl -@@ -414,7 +414,7 @@ - Ref = make_ref(), - case (catch {Ref,binary_to_term(Bin)}) of - {'EXIT',_} -> -- {error, "Inclomplete erlang term in log"}; -+ {error, "Incomplete erlang term in log"}; - {Ref,Term} -> - {ok, Term} - end diff --git a/lang/erlang14/files/patch-lib_snmp_src_misc_snmp__config.erl b/lang/erlang14/files/patch-lib_snmp_src_misc_snmp__config.erl deleted file mode 100644 index 732aef70634f..000000000000 --- a/lang/erlang14/files/patch-lib_snmp_src_misc_snmp__config.erl +++ /dev/null @@ -1,14 +0,0 @@ - -$FreeBSD$ - ---- lib/snmp/src/misc/snmp_config.erl.orig -+++ lib/snmp/src/misc/snmp_config.erl -@@ -1722,7 +1722,7 @@ - "%% {\"standard inform\", \"std_inform\", inform}.\n" - "%%\n\n", - Hdr = header() ++ Comment, -- Conf = [{"stadard_trap", "std_trap", NotifyType}], -+ Conf = [{"standard trap", "std_trap", NotifyType}], - write_agent_notify_config(Dir, Hdr, Conf). - - write_agent_notify_config(Dir, Hdr, Conf) diff --git a/lang/erlang14/files/pkg-message.in b/lang/erlang14/files/pkg-message.in deleted file mode 100644 index 1b8961341722..000000000000 --- a/lang/erlang14/files/pkg-message.in +++ /dev/null @@ -1,15 +0,0 @@ -=========================================================================== -This package requires a properly configured nsswitch.conf on FreeBSD -5.x, else nameserver queries (and the distribution protocol) will -not work. - -Installation tips: - -You can find an emacs mode for Erlang here: - - %%LOCALBASE%%/lib/erlang/lib/tools-%%TOOLS_VSN%%/emacs - -You may wish to add the following line to /etc/manpath.config: - -OPTIONAL_MANPATH %%LOCALBASE%%/lib/erlang/man -=========================================================================== diff --git a/lang/erlang14/pkg-descr b/lang/erlang14/pkg-descr deleted file mode 100644 index 2627e5e60209..000000000000 --- a/lang/erlang14/pkg-descr +++ /dev/null @@ -1,5 +0,0 @@ -Erlang is a small concurrent functional programming language -developed by Ericsson. It is being used by Ericsson as a systems -programming language for large concurrent distributed systems. - -WWW: http://www.erlang.org/ diff --git a/lang/erlang14/pkg-plist b/lang/erlang14/pkg-plist deleted file mode 100644 index a0f7e5f47607..000000000000 --- a/lang/erlang14/pkg-plist +++ /dev/null @@ -1,19 +0,0 @@ -bin/dialyzer -bin/epmd -bin/erl -bin/erl_call -bin/erlc -bin/escript -bin/run_erl -bin/to_erl -bin/typer -@comment Insert PLIST here -@comment -=[ begin PLIST.lib-erlang ]=- -@comment -=[ end PLIST.lib-erlang ]=- -@dirrm lib/erlang/man/man6 -@dirrm lib/erlang/man/man4 -@dirrm lib/erlang/man/man3 -@dirrm lib/erlang/man/man1 -@dirrm lib/erlang/man -@dirrmtry lib/erlang/lib -@dirrmtry lib/erlang |