diff options
Diffstat (limited to 'lang/erlang14')
21 files changed, 0 insertions, 921 deletions
diff --git a/lang/erlang14/Makefile b/lang/erlang14/Makefile deleted file mode 100644 index 9f9eb56087fd..000000000000 --- a/lang/erlang14/Makefile +++ /dev/null @@ -1,161 +0,0 @@ -# New ports collection makefile for: erlang -# Date created: 11 Dec 1998 -# Whom: ruslan@shevchenko.kiev.ua -# -# $FreeBSD$ -# - -PORTNAME= erlang -PORTVERSION= r9c0 -PORTREVISION= 7 -PORTEPOCH= 1 -CATEGORIES= lang -MASTER_SITES= 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_R9C-0 -DISTFILES= ${DISTNAME}${EXTRACT_SUFX} ${ERLANG_MAN} ${ERLANG_DOCS} -DIST_SUBDIR= erlang -EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX} - -PATCH_SITES= http://www.erlang.org/download/patches/ -PATCHFILES= -PATCH_DIST_STRIP= -p1 - -MAINTAINER= olgeni@FreeBSD.org -COMMENT= A functional programming language from Ericsson - -.if !defined(WITHOUT_X11) -RUN_DEPENDS= wish8.4:${PORTSDIR}/x11-toolkits/tk84 -.endif - -# Set JAVABINDIR to where you have javac, if different from below -JAVABINDIR?= ${LOCALBASE}/jdk1.4.2/bin -JAVAPORT?= ${JAVABINDIR}/javac:${PORTSDIR}/java/jdk14 - -ERLANG_MAN= otp_man_R9C-0.tar.gz -.if !defined(NOPORTDOCS) -ERLANG_DOCS= otp_html_R9C-0.tar.gz -.endif - -USE_GMAKE= yes -USE_PERL5= yes -GNU_CONFIGURE= yes -ONLY_FOR_ARCHS= i386 - -CONFIGURE_TARGET= # Empty -CONFIGURE_ARGS+= --enable-threads --enable-hipe - -.include <bsd.port.pre.mk> - -.if !exists(${JAVABINDIR}/java) -WITHOUT_JAVA= yes -.endif - -.if !defined(WITHOUT_JAVA) -# 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 -# JAVABINDIR is added to the PATH, using the *_ENV macros. - -BUILD_DEPENDS+= ${JAVAPORT} - -# Make sure JAVABINDIR is in the path -CONFIGURE_ENV+= PATH=${PATH}:${JAVABINDIR} -MAKE_ENV+= PATH=${PATH}:${JAVABINDIR} -SCRIPT_ENV+= PATH=${PATH}:${JAVABINDIR} - -.endif - -# 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 - -# Workaround for a ./configure recursion bug which leads to INSTALL being -# set to "../../../../[...]" -post-patch: - @cd ${WRKSRC} && ${CAT} ${FILESDIR}/post-patch-configure | ${PATCH} - -pre-configure: -# Check if javac is really in ${JAVABINDIR}. -.if !defined(WITHOUT_JAVA) - @if [ ! -x ${JAVABINDIR}/javac ]; then \ - ${ECHO_MSG} ">> Error: cannot find javac in JAVABINDIR."; \ - ${ECHO_MSG} ">> Please configure JAVABINDIR, or use the WITHOUT_JAVA option"; \ - 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 - -# 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 -.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} \ - > ${WRKDIR}/PLIST.lib-erlang - -# Stock OTP libraries. - - @for LIBRARY in ${OTP_LIBS}; do \ - cd ${PREFIX} ; ${FIND} lib/erlang/lib/$${LIBRARY} -type f -o -type l; \ - done | ${SORT} >> ${WRKDIR}/PLIST.lib-erlang - -# Stock OTP library directories. - - @for LIBRARY in ${OTP_LIBS}; do \ - cd ${PREFIX} ; ${FIND} lib/erlang/lib/$${LIBRARY} -type d \ - | ${SED} -e 's/^/@dirrm /g'; \ - done | ${SORT} -r >> ${WRKDIR}/PLIST.lib-erlang - -# 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' \ - >> ${WRKDIR}/PLIST.lib-erlang - - @${ECHO_CMD} "r ${TMPPLIST}" > ${WRKDIR}/ex.script - @${ECHO_CMD} "/Insert PLIST.lib-erlang" >> ${WRKDIR}/ex.script - @${ECHO_CMD} "d" >> ${WRKDIR}/ex.script - @${ECHO_CMD} "r ${WRKDIR}/PLIST.lib-erlang" >> ${WRKDIR}/ex.script - @${ECHO_CMD} "x!" >> ${WRKDIR}/ex.script - @${CP} -p ${TMPPLIST} ${TMPPLIST}.pre-lib-erlang - @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 670ba2d8e3a5..000000000000 --- a/lang/erlang14/Makefile.lib +++ /dev/null @@ -1,43 +0,0 @@ -# $FreeBSD$ - -OTP_LIBS= appmon-2.1.2 \ - asn1-1.4.2 \ - compiler-4.2 \ - cosEvent-2.1 \ - cosEventDomain-1.1 \ - cosFileTransfer-1.1 \ - cosNotification-1.1 \ - cosProperty-1.1 \ - cosTime-1.1 \ - cosTransactions-1.2 \ - crypto-1.2 \ - debugger-2.2 \ - erl_interface-3.4 \ - et-1.0 \ - eva-2.0.4 \ - gs-1.5.2 \ - hipe-2.0.2 \ - ic-4.2.1 \ - inets-3.0.6 \ - jinterface-1.2.1.1 \ - kernel-2.9 \ - megaco-1.2.3 \ - mnemosyne-1.2.5 \ - mnesia-4.1.4 \ - mnesia_session-1.1.5 \ - observer-0.9.5 \ - odbc-1.0.8 \ - orber-3.4.2 \ - os_mon-1.6.1 \ - otp_mibs-1.0 \ - parsetools-1.2 \ - pman-2.4.1 \ - runtime_tools-1.4 \ - sasl-1.10 \ - snmp-3.4 \ - ssl-3.0.1 \ - stdlib-1.12 \ - toolbar-1.1.0 \ - tools-2.3 \ - tv-2.0.5 \ - webtool-0.8.1 diff --git a/lang/erlang14/Makefile.man b/lang/erlang14/Makefile.man deleted file mode 100644 index 9fcf28b33eba..000000000000 --- a/lang/erlang14/Makefile.man +++ /dev/null @@ -1,316 +0,0 @@ -# $FreeBSD$ - -MAN1= epmd.1 \ - driver_entry.1 \ - erl.1 \ - erl_call.1 \ - erl_driver.1 \ - erlc.1 \ - erlsrv.1 \ - run_erl.1 \ - start.1 \ - start_erl.1 \ - start_webtool.1 \ - werl.1 - -MAN3= CORBA_Environment_alloc.3 \ - 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 \ - asn1ct.3 \ - asn1rt.3 \ - auth.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 \ - dbg.3 \ - debugger.3 \ - dets.3 \ - dict.3 \ - digraph.3 \ - digraph_utils.3 \ - disk_log.3 \ - disksup.3 \ - ei.3 \ - ei_connect.3 \ - epp.3 \ - eprof.3 \ - erl_boot_server.3 \ - erl_connect.3 \ - erl_ddll.3 \ - erl_error.3 \ - erl_eterm.3 \ - erl_eval.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_prim_loader.3 \ - erl_scan.3 \ - erl_set_memory_block.3 \ - erl_tar.3 \ - erlang.3 \ - erlang_mode.3 \ - error_handler.3 \ - error_logger.3 \ - erts_alloc.3 \ - et.3 \ - et_collector.3 \ - et_selector.3 \ - et_viewer.3 \ - etop.3 \ - ets.3 \ - eva.3 \ - eva_log.3 \ - eva_log_snmp.3 \ - eva_server.3 \ - eva_snmp_adaptation.3 \ - eva_sup.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_server.3 \ - gen_tcp.3 \ - gen_udp.3 \ - global.3 \ - global_group.3 \ - gs.3 \ - heart.3 \ - httpd.3 \ - httpd_conf.3 \ - httpd_core.3 \ - httpd_socket.3 \ - httpd_util.3 \ - i.3 \ - ic.3 \ - inet.3 \ - init.3 \ - instrument.3 \ - int.3 \ - interceptors.3 \ - io.3 \ - io_lib.3 \ - lib.3 \ - lists.3 \ - lname.3 \ - lname_component.3 \ - log.3 \ - log_mf_h.3 \ - log_server.3 \ - log_snmp.3 \ - log_snmpea.3 \ - make.3 \ - math.3 \ - megaco.3 \ - megaco_codec_meas.3 \ - megaco_codec_transform.3 \ - megaco_flex_scanner.3 \ - megaco_tcp.3 \ - megaco_udp.3 \ - megaco_user.3 \ - memsup.3 \ - mnemosyne.3 \ - mnesia.3 \ - mnesia_frag_hash.3 \ - mnesia_registry.3 \ - mnesia_session.3 \ - mod_actions.3 \ - mod_alias.3 \ - mod_auth.3 \ - mod_browser.3 \ - mod_cgi.3 \ - mod_dir.3 \ - mod_disk_log.3 \ - mod_esi.3 \ - mod_get.3 \ - mod_head.3 \ - mod_htaccess.3 \ - mod_include.3 \ - mod_log.3 \ - mod_range.3 \ - mod_responsecontrol.3 \ - mod_security.3 \ - mod_trace.3 \ - ms_transform.3 \ - net_adm.3 \ - net_kernel.3 \ - nteventlog.3 \ - odbc.3 \ - orber.3 \ - orber_ifr.3 \ - orber_tc.3 \ - orddict.3 \ - ordsets.3 \ - os.3 \ - os_mon.3 \ - os_sup.3 \ - otp_mib.3 \ - overload.3 \ - pg.3 \ - pg2.3 \ - pman.3 \ - pool.3 \ - proc_lib.3 \ - proplists.3 \ - queue.3 \ - random.3 \ - rb.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_error.3 \ - snmp_error_io.3 \ - snmp_error_report.3 \ - snmp_framework_mib.3 \ - snmp_generic.3 \ - snmp_index.3 \ - snmp_local_db.3 \ - snmp_mgr.3 \ - snmp_mpd.3 \ - snmp_notification_mib.3 \ - snmp_pdus.3 \ - snmp_standard_mib.3 \ - snmp_supervisor.3 \ - snmp_target_mib.3 \ - snmp_user_based_sm_mib.3 \ - snmp_view_based_acm_mib.3 \ - sofs.3 \ - ssl.3 \ - ssl_pkix.3 \ - string.3 \ - supervisor.3 \ - supervisor_bridge.3 \ - sys.3 \ - systools.3 \ - tags.3 \ - timer.3 \ - toolbar.3 \ - ttb.3 \ - tv.3 \ - user.3 \ - webtool.3 \ - win32reg.3 \ - wrap_log_reader.3 \ - xref.3 \ - yecc.3 - -MAN4= app.4 \ - appup.4 \ - config.4 \ - rel.4 \ - relup.4 \ - script.4 - -MAN6= crypto.6 \ - eva.6 \ - inets.6 \ - kernel.6 \ - observer.6 \ - runtime_tools.6 \ - sasl.6 \ - snmp.6 \ - ssl.6 diff --git a/lang/erlang14/distinfo b/lang/erlang14/distinfo deleted file mode 100644 index b2193f47c2c1..000000000000 --- a/lang/erlang14/distinfo +++ /dev/null @@ -1,6 +0,0 @@ -MD5 (erlang/otp_src_R9C-0.tar.gz) = d40842cf79ca65007de5ad54d3c50d18 -SIZE (erlang/otp_src_R9C-0.tar.gz) = 8229056 -MD5 (erlang/otp_man_R9C-0.tar.gz) = f94bbaba800cc73e67704b92df5aab60 -SIZE (erlang/otp_man_R9C-0.tar.gz) = 561329 -MD5 (erlang/otp_html_R9C-0.tar.gz) = 6885f276d1501fd22a72ae421b4a94e6 -SIZE (erlang/otp_html_R9C-0.tar.gz) = 4143404 diff --git a/lang/erlang14/files/patch-Makefile.in b/lang/erlang14/files/patch-Makefile.in deleted file mode 100644 index 76cd405e8322..000000000000 --- a/lang/erlang14/files/patch-Makefile.in +++ /dev/null @@ -1,21 +0,0 @@ - -$FreeBSD$ - ---- Makefile.in.orig Sat Jan 24 21:18:56 2004 -+++ Makefile.in Sat Jan 24 21:19:22 2004 -@@ -505,14 +505,9 @@ - # Erlang base public files - # - install.bin: -- rm -f $(BINDIR)/erl $(BINDIR)/erlc \ -- $(BINDIR)/ecc $(BINDIR)/elink $(BINDIR)/ear $(BINDIR)/escript -+ rm -f $(BINDIR)/erl $(BINDIR)/erlc - ${LN_S} $(ERLANG_BINDIR)/erl $(BINDIR)/erl - ${LN_S} $(ERLANG_BINDIR)/erlc $(BINDIR)/erlc -- ${LN_S} $(ERLANG_BINDIR)/ecc $(BINDIR)/ecc -- ${LN_S} $(ERLANG_BINDIR)/elink $(BINDIR)/elink -- ${LN_S} $(ERLANG_BINDIR)/ear $(BINDIR)/ear -- ${LN_S} $(ERLANG_BINDIR)/escript $(BINDIR)/escript - - # - # Directories needed before we can install diff --git a/lang/erlang14/files/patch-aj b/lang/erlang14/files/patch-aj deleted file mode 100644 index 6b8104ce7904..000000000000 --- a/lang/erlang14/files/patch-aj +++ /dev/null @@ -1,21 +0,0 @@ - -$FreeBSD$ - ---- erts/etc/unix/Install.src.orig Wed Mar 5 17:20:07 2003 -+++ erts/etc/unix/Install.src Wed Mar 5 17:21:04 2003 -@@ -119,7 +119,8 @@ - sed -e "s;%EMU%;%EMULATOR%%EMULATOR_NUMBER%;" $ERL_ROOT/erts-%I_VSN%/bin/start_erl.src > start_erl - chmod 755 start_erl - --if [ -d $ERL_ROOT/lib/sasl* ] -+set $ERL_ROOT/lib/sasl* -+if [ -d $1 ] - then - (cd $ERL_ROOT/releases - echo %I_VSN% %I_SYSTEM_VSN% > start_erl.data) -@@ -193,4 +194,4 @@ - ./misc/format_man_pages $ERL_ROOT - fi - -- -+exit 0 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_debugger_src_dbg__ui__mon.erl b/lang/erlang14/files/patch-lib_debugger_src_dbg__ui__mon.erl deleted file mode 100644 index 68b5cad41d74..000000000000 --- a/lang/erlang14/files/patch-lib_debugger_src_dbg__ui__mon.erl +++ /dev/null @@ -1,14 +0,0 @@ - -$FreeBSD$ - ---- lib/debugger/src/dbg_ui_mon.erl.orig Thu Sep 4 22:26:08 2003 -+++ lib/debugger/src/dbg_ui_mon.erl Thu Sep 4 22:26:51 2003 -@@ -379,7 +379,7 @@ - - %% Help Menu - gui_cmd('Debugger', State) -> -- HelpFile = filename:join([code:lib_dir(debugger),"doc","index.html"]), -+ HelpFile = filename:join([code:lib_dir(debugger),"doc","html","index.html"]), - tool_utils:open_help(State#state.gs, HelpFile), - State; - diff --git a/lang/erlang14/files/patch-lib_debugger_src_dbg__ui__trace.erl b/lang/erlang14/files/patch-lib_debugger_src_dbg__ui__trace.erl deleted file mode 100644 index b8a009679ad5..000000000000 --- a/lang/erlang14/files/patch-lib_debugger_src_dbg__ui__trace.erl +++ /dev/null @@ -1,14 +0,0 @@ - -$FreeBSD$ - ---- lib/debugger/src/dbg_ui_trace.erl.orig Thu Sep 4 22:26:12 2003 -+++ lib/debugger/src/dbg_ui_trace.erl Thu Sep 4 22:26:56 2003 -@@ -352,7 +352,7 @@ - - %% Help menu - gui_cmd('Debugger', State) -> -- HelpFile = filename:join([code:lib_dir(debugger),"doc","index.html"]), -+ HelpFile = filename:join([code:lib_dir(debugger),"doc","html","index.html"]), - tool_utils:open_help(State#state.gs, HelpFile), - State; - diff --git a/lang/erlang14/files/patch-lib_debugger_src_dbg__ui__view.erl b/lang/erlang14/files/patch-lib_debugger_src_dbg__ui__view.erl deleted file mode 100644 index 825ccb15044f..000000000000 --- a/lang/erlang14/files/patch-lib_debugger_src_dbg__ui__view.erl +++ /dev/null @@ -1,14 +0,0 @@ - -$FreeBSD$ - ---- lib/debugger/src/dbg_ui_view.erl.orig Thu Sep 4 22:26:16 2003 -+++ lib/debugger/src/dbg_ui_view.erl Thu Sep 4 22:29:05 2003 -@@ -165,7 +165,7 @@ - - %% Help menu - gui_cmd('Debugger', State) -> -- HelpFile = filename:join([code:lib_dir(debugger),"doc","index.html"]), -+ HelpFile = filename:join([code:lib_dir(debugger),"doc","html","index.html"]), - tool_utils:open_help(State#state.gs, HelpFile), - State. - diff --git a/lang/erlang14/files/patch-lib_erl__interface_src_decode_decode__longlong.c b/lang/erlang14/files/patch-lib_erl__interface_src_decode_decode__longlong.c deleted file mode 100644 index ce5e84161b1d..000000000000 --- a/lang/erlang14/files/patch-lib_erl__interface_src_decode_decode__longlong.c +++ /dev/null @@ -1,14 +0,0 @@ - -$FreeBSD$ - ---- lib/erl_interface/src/decode/decode_longlong.c.orig Sun Aug 31 14:00:44 2003 -+++ lib/erl_interface/src/decode/decode_longlong.c Sun Aug 31 14:01:41 2003 -@@ -51,7 +51,7 @@ - int pos, shift = 0; - n = 0; - for (pos = 0; pos < arity; pos++) { -- n |= get8(s) << shift; -+ n |= ((EI_LONGLONG) get8(s)) << shift; - shift += 8; - } - } 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 4f4482bc45b1..000000000000 --- a/lang/erlang14/files/patch-lib_gs_src_tool__utils.erl +++ /dev/null @@ -1,88 +0,0 @@ - -$FreeBSD$ - ---- lib/gs/src/tool_utils.erl.orig Thu Sep 4 23:01:37 2003 -+++ lib/gs/src/tool_utils.erl Fri Sep 5 00:16:20 2003 -@@ -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) -@@ -51,7 +54,7 @@ - local -> - Cmd = case os:type() of - {unix,_AnyType} -> -- "netscape -remote \"openURL(file:" ++ File ++ ")\""; -+ unix_url_command("file:" ++ File); - - {win32,_AnyType} -> - "start " ++ filename:nativename(File) -@@ -62,7 +65,7 @@ - remote -> - Cmd = case os:type() of - {unix,_AnyType} -> -- "netscape -remote \"openURL(" ++ File ++ ")\""; -+ unix_url_command(File); - - {win32,_AnyType} -> - "netscape.exe -h " ++ regexp:gsub(File,"\\\\","/") -@@ -307,3 +310,54 @@ - [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_kernel_src_inet__config.erl b/lang/erlang14/files/patch-lib_kernel_src_inet__config.erl deleted file mode 100644 index 362a217ce495..000000000000 --- a/lang/erlang14/files/patch-lib_kernel_src_inet__config.erl +++ /dev/null @@ -1,19 +0,0 @@ - -$FreeBSD$ - ---- lib/kernel/src/inet_config.erl.orig Mon Jul 7 14:06:28 2003 -+++ lib/kernel/src/inet_config.erl Fri Sep 19 14:21:14 2003 -@@ -78,7 +78,12 @@ - error("can't set lookup to native: ~p", [Reason]) - end; - freebsd -> %% we may have to check version (2.2.2) -- load_resolv(filename:join(Etc,"host.conf"), host_conf_freebsd); -+ case os:version() of -+ {Major,_,_} when Major >= 5 -> -+ load_resolv(filename:join(Etc,"nsswitch.conf"), nsswitch_conf); -+ _ -> -+ load_resolv(filename:join(Etc,"host.conf"), host_conf_freebsd) -+ end; - 'bsd/os' -> - load_resolv(filename:join(Etc,"irs.conf"), host_conf_bsdos); - linux -> diff --git a/lang/erlang14/files/patch-lib_runtime__tools_c__src_Makefile.in b/lang/erlang14/files/patch-lib_runtime__tools_c__src_Makefile.in deleted file mode 100644 index bb88be4c3948..000000000000 --- a/lang/erlang14/files/patch-lib_runtime__tools_c__src_Makefile.in +++ /dev/null @@ -1,25 +0,0 @@ - -$FreeBSD$ - ---- lib/runtime_tools/c_src/Makefile.in.orig Sun Aug 31 14:46:12 2003 -+++ lib/runtime_tools/c_src/Makefile.in Sun Aug 31 14:47:00 2003 -@@ -107,7 +107,8 @@ - ifdef soname - $(LD) $(LDFLAGS) $(soname) trace_ip_drv.so -o $@ $^ -lc $(LIBS) - else -- $(LD) $(LDFLAGS) -o $@ $^ -lc $(LIBS) -+ # $(LD) $(LDFLAGS) -o $@ $^ -lc $(LIBS) -+ $(LD) $(LDFLAGS) -o $@ $^ - endif - - $(LIBDIR)/trace_file_drv.so: $(TRACE_FILE_DRV_OBJS) -@@ -115,7 +116,8 @@ - ifdef soname - $(LD) $(LDFLAGS) $(soname) trace_file_drv.so -o $@ $^ -lc $(LIBS) - else -- $(LD) $(LDFLAGS) -o $@ $^ -lc $(LIBS) -+ # $(LD) $(LDFLAGS) -o $@ $^ -lc $(LIBS) -+ $(LD) $(LDFLAGS) -o $@ $^ - endif - - $(LIBDIR)/trace_ip_drv.dll: $(TRACE_IP_DRV_OBJS) diff --git a/lang/erlang14/files/patch-lib_ssl_src_ssl__broker.erl b/lang/erlang14/files/patch-lib_ssl_src_ssl__broker.erl deleted file mode 100644 index e91c911ef98d..000000000000 --- a/lang/erlang14/files/patch-lib_ssl_src_ssl__broker.erl +++ /dev/null @@ -1,14 +0,0 @@ - -$FreeBSD$ - ---- lib/ssl/src/ssl_broker.erl.orig Thu Mar 11 17:58:12 2004 -+++ lib/ssl/src/ssl_broker.erl Thu Mar 11 18:00:07 2004 -@@ -330,6 +330,8 @@ - case gen_tcp:recv(St#st.proxysock, Length, Timeout) of - {ok, Data} -> - {reply, {ok, Data}, St}; -+ {error, timeout} -> -+ {reply, {error, timeout}, St}; - {error, Reason} -> - {reply, {error, Reason}, St#st{status = closing}} - end diff --git a/lang/erlang14/files/patch-lib_stdlib_src_dets__v9.erl b/lang/erlang14/files/patch-lib_stdlib_src_dets__v9.erl deleted file mode 100644 index fefd4c99f680..000000000000 --- a/lang/erlang14/files/patch-lib_stdlib_src_dets__v9.erl +++ /dev/null @@ -1,77 +0,0 @@ - -$FreeBSD$ - ---- lib/stdlib/src/dets_v9.erl.orig Mon Jul 7 14:17:44 2003 -+++ lib/stdlib/src/dets_v9.erl Fri Dec 26 14:58:33 2003 -@@ -212,7 +212,6 @@ - -define(FREELIST_POS, 0). - -define(CLOSED_PROPERLY_POS, 8). - -define(D_POS, 20). ---define(NO_KEYS_POS, (?D_POS + 16)). - - %%% Dets file versions up to 8 are handled in dets_v8. This module - %%% handles version 9, introduced in R8. -@@ -416,7 +415,7 @@ - alloc_part(Head, SegZero, PartPos), - {NewHead, InitSegment, [SegPointer]} = - alloc_seg(Head1, SegZero, SegNo, Part), -- {NewHead, InitSegment, [SegPointer, InitArrPart, ArrPartPointer]}; -+ {NewHead, InitSegment, [InitArrPart, SegPointer, ArrPartPointer]}; - Part -> - alloc_seg(Head, SegZero, SegNo, Part) - end. -@@ -1222,7 +1221,7 @@ - %% Note that space for the array parts and the segments has - %% already been allocated, but the segments have not been - %% initialized on disk. -- NoParts = no_parts(Head#head.m), -+ NoParts = no_parts(Head#head.next), - %% All parts first, ensured by init_segments/6. - Addr = ?BASE + NoParts * 4 * ?SEGPARTSZ, - {Head, [{?FSCK_SEGMENT,Addr,Data,0} | L]}; -@@ -1586,7 +1585,11 @@ - {FLW, FLSize} = free_lists_to_file(H1), - FileSize = FreeListsPointer + FLSize + 4, - ok = dets_utils:write(H, [FLW | <<FileSize:32>>]), -- NoColls = case H1#head.no_collections of -+ FileHeader = file_header(H1, FreeListsPointer, ?CLOSED_PROPERLY), -+ dets_utils:pwrite(H1, [{0, FileHeader}]). -+ -+file_header(Head, FreeListsPointer, ClosedProperly) -> -+ NoColls = case Head#head.no_collections of - undefined -> []; - NC -> NC - end, -@@ -1594,8 +1597,7 @@ - NoColls, - lists:map(fun(X) -> {X,0} end, lists:seq(4,?MAXBUD-1))), - CW = lists:map(fun({_LSz,N}) -> <<N:32>> end, L), -- FileHeader = file_header(H1, FreeListsPointer, ?CLOSED_PROPERLY, CW), -- dets_utils:pwrite(H1, [{0, FileHeader}]). -+ file_header(Head, FreeListsPointer, ClosedProperly, CW). - - file_header(Head, FreeListsPointer, ClosedProperly, NoColls) -> - Cookie = ?MAGIC, -@@ -2356,17 +2358,18 @@ - update_no_keys(Head, Ws, DeltaObjects, DeltaKeys) -> - NoKeys = Head#head.no_keys, - NewNoKeys = NoKeys + DeltaKeys, -+ NewNoObject = Head#head.no_objects + DeltaObjects, -+ NewHead = Head#head{no_objects = NewNoObject, no_keys = NewNoKeys}, - NWs = - if -- NewNoKeys > Head#head.max_no_slots -> -+ NewNoKeys > NewHead#head.max_no_slots -> - Ws; - NoKeys div ?SEGSZP == NewNoKeys div ?SEGSZP -> - Ws; - true -> -- [{?NO_KEYS_POS, <<NewNoKeys:32>>} | Ws] -+ [{0, file_header(NewHead, 0, ?NOT_PROPERLY_CLOSED)} | Ws] - end, -- NewNoObject = Head#head.no_objects + DeltaObjects, -- {Head#head{no_objects = NewNoObject, no_keys = NewNoKeys}, NWs}. -+ {NewHead, NWs}. - - slot_position(S) -> - SegNo = ?SLOT2SEG(S), % S div ?SEGSZP diff --git a/lang/erlang14/files/patch-lib_stdlib_src_filelib.erl b/lang/erlang14/files/patch-lib_stdlib_src_filelib.erl deleted file mode 100644 index 2b26e8e6c039..000000000000 --- a/lang/erlang14/files/patch-lib_stdlib_src_filelib.erl +++ /dev/null @@ -1,17 +0,0 @@ - -$FreeBSD$ - ---- lib/stdlib/src/filelib.erl.orig Thu Mar 11 21:05:33 2004 -+++ lib/stdlib/src/filelib.erl Thu Mar 11 21:06:40 2004 -@@ -84,7 +84,10 @@ - false -> - fold_files(T, Dir, RegExp, Recursive, Fun, Acc0) - end -- end. -+ end; -+ -+fold_files([], _, _, _, _, Acc) -> -+ Acc. - - last_modified(File) -> - case file:read_file_info(File) of diff --git a/lang/erlang14/files/post-patch-configure b/lang/erlang14/files/post-patch-configure deleted file mode 100644 index 355f4493a797..000000000000 --- a/lang/erlang14/files/post-patch-configure +++ /dev/null @@ -1,10 +0,0 @@ ---- configure.orig Fri Dec 7 16:13:39 2001 -+++ configure Fri Dec 7 16:19:33 2001 -@@ -1081,6 +1081,7 @@ - *) # Relative path. - ac_sub_cache_file="$ac_dots$cache_file" ;; - esac -+ ac_given_INSTALL="$INSTALL" - case "$ac_given_INSTALL" in - [/$]*) INSTALL="$ac_given_INSTALL" ;; - *) INSTALL="$ac_dots$ac_given_INSTALL" ;; 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-message b/lang/erlang14/pkg-message deleted file mode 100644 index 1fd1cd3c4338..000000000000 --- a/lang/erlang14/pkg-message +++ /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-2.3/emacs - -You may wish to add the following line to /etc/manpath.config: - -OPTIONAL_MANPATH /usr/local/lib/erlang/man -=========================================================================== diff --git a/lang/erlang14/pkg-plist b/lang/erlang14/pkg-plist deleted file mode 100644 index 022066e8e3f7..000000000000 --- a/lang/erlang14/pkg-plist +++ /dev/null @@ -1,13 +0,0 @@ -bin/erl -bin/erl_call -bin/erlc -@comment Insert PLIST.lib-erlang 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 -@unexec rmdir %D/lib/erlang/lib 2>/dev/null || true -@unexec rmdir %D/lib/erlang 2>/dev/null || true |