[44939] trunk/dports/lang/erlang/Portfile

bfulgham at macports.org bfulgham at macports.org
Sun Jan 4 15:22:47 PST 2009


Revision: 44939
          http://trac.macports.org/changeset/44939
Author:   bfulgham at macports.org
Date:     2009-01-04 15:22:47 -0800 (Sun, 04 Jan 2009)
Log Message:
-----------
Reenable HiPE as default.
Close:#15459

Modified Paths:
--------------
    trunk/dports/lang/erlang/Portfile

Modified: trunk/dports/lang/erlang/Portfile
===================================================================
--- trunk/dports/lang/erlang/Portfile	2009-01-04 21:52:30 UTC (rev 44938)
+++ trunk/dports/lang/erlang/Portfile	2009-01-04 23:22:47 UTC (rev 44939)
@@ -3,33 +3,34 @@
 PortSystem 1.0
 name		erlang
 version		R12B-5
+revision        1
 categories	lang erlang
 maintainers	bfulgham at macports.org
 platforms	darwin
 description	The Erlang Programming Language
-long_description	\
-		Erlang is a programming language designed at the	\
-		Ericsson Computer Science Laboratory. Open-source	\
-		Erlang is being released to help encourage the spread	\
-		of Erlang outside Ericsson.				\
-									\
-		We are releasing free of charge:			\
-			The entire source code of the current Erlang	\
-			system.						\
-			Extensive libraries of code for building robust	\
-			fault-tolerant distributed applications.	\
-			All with documentation.				\
-									\
-		All the above software has been battle tested in a	\
-		number of Ericsson products, for example the new	\
-		Ericsson ATM switch. 
+long_description                                                        \
+                Erlang is a programming language designed at the        \
+                Ericsson Computer Science Laboratory. Open-source       \
+                Erlang is being released to help encourage the spread   \
+                of Erlang outside Ericsson.                             \
+                                                                        \
+                We are releasing free of charge:                        \
+                    The entire source code of the current Erlang        \
+                    system.                                             \
+                    Extensive libraries of code for building robust     \
+                    fault-tolerant distributed applications.            \
+                    All with documentation.                             \
+                                                                        \
+                All the above software has been battle tested in a      \
+                number of Ericsson products, for example the new        \
+                Ericsson ATM switch. 
 
-homepage	http://www.erlang.org/
-master_sites	http://www.erlang.org/download/
+homepage        http://www.erlang.org/
+master_sites    http://www.erlang.org/download/
 
-distfiles	otp_src_${version}${extract.suffix}		\
-		otp_doc_man_${version}${extract.suffix}		\
-		otp_doc_html_${version}${extract.suffix}
+distfiles       otp_src_${version}${extract.suffix}                    \
+                otp_doc_man_${version}${extract.suffix}                \
+                otp_doc_html_${version}${extract.suffix}
 
 checksums       otp_src_R12B-5.tar.gz \
                     md5     3751ea3fea669d2b25c67eeb883734bb \
@@ -44,9 +45,9 @@
                     sha1    0bd369d02051e01bac58c9b8665bd3538e116f51 \
                     rmd160  b460906043171b27735332ec90c45e38d888869a
 
-extract.only	otp_src_${version}${extract.suffix}
+extract.only    otp_src_${version}${extract.suffix}
 
-pre-patch	{ file rename ${workpath}/otp_src_${version} ${workpath}/${name}-${version} }
+pre-patch       { file rename ${workpath}/otp_src_${version} ${workpath}/${name}-${version} }
 
 # http://www.erlang.org/pipermail/erlang-bugs/2008-October/001023.html
 # http://www.erlang.org/pipermail/erlang-bugs/2008-October/001024.html
@@ -62,23 +63,24 @@
 
 configure.args  --prefix=${destroot}${prefix}	\
                 --enable-kernel-poll            \
-		--disable-smp-support
+                --disable-smp-support           \
+                --enable-hipe
 
 variant smp	{
 	configure.args-delete	--disable-smp-support
 }
 
 variant ssl	{
-	configure.args-append	--with-ssl=${prefix}
+	configure.args-append    --with-ssl=${prefix}
 	configure.ldflags-append -lz
-	depends_build-append	port:openssl
-	depends_run-append	port:openssl
+	depends_build-append     port:openssl
+	depends_run-append       port:openssl
 }
 
-variant hipe {
+variant no-hipe {
 	# Currently produces bus errors in 10.5.3 due to changes in
 	# signal handling
-	configure.args-append	--enable-hipe
+	configure.args-delete   --enable-hipe
 }
 
 
@@ -91,8 +93,8 @@
 
 
 
-depends_build	port:gawk
-depends_run	port:tk
+depends_build   port:gawk
+depends_run     port:tk
 
 post-destroot	{
 	system "tar -C ${destroot}${prefix}/lib/erlang -zxvf ${distpath}/otp_doc_html_${version}${extract.suffix}"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090104/df5afce3/attachment.html>


More information about the macports-changes mailing list