[39337] trunk/dports/erlang/erlsom

pguyot at kallisys.net pguyot at kallisys.net
Mon Aug 18 06:46:29 PDT 2008


Revision: 39337
          http://trac.macosforge.org/projects/macports/changeset/39337
Author:   pguyot at kallisys.net
Date:     2008-08-18 06:46:29 -0700 (Mon, 18 Aug 2008)
Log Message:
-----------
erlang/erlsom: new revision (compile with +debug_info so static analysis tools can be used

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

Added Paths:
-----------
    trunk/dports/erlang/erlsom/files/
    trunk/dports/erlang/erlsom/files/patch-Makefile.diff
    trunk/dports/erlang/erlsom/files/patch-src-Makefile.diff

Modified: trunk/dports/erlang/erlsom/Portfile
===================================================================
--- trunk/dports/erlang/erlsom/Portfile	2008-08-18 12:59:55 UTC (rev 39336)
+++ trunk/dports/erlang/erlsom/Portfile	2008-08-18 13:46:29 UTC (rev 39337)
@@ -4,6 +4,7 @@
 
 name                erlsom
 version             1.2.1
+revision			1
 categories          erlang textproc
 maintainers         pguyot at kallisys.net
 platforms           darwin
@@ -18,9 +19,11 @@
 depends_lib         port:libtool
 use_autoconf        yes
 extract.mkdir       yes
+patchfiles			patch-Makefile.diff \
+					patch-src-Makefile.diff
+build.target		debuginfo
 
 post-extract {
     copy -force ${prefix}/share/libtool/config.guess ${prefix}/share/libtool/config.sub ${worksrcpath}
     file delete -force "${worksrcpath}/configure"
 }
-

Added: trunk/dports/erlang/erlsom/files/patch-Makefile.diff
===================================================================
--- trunk/dports/erlang/erlsom/files/patch-Makefile.diff	                        (rev 0)
+++ trunk/dports/erlang/erlsom/files/patch-Makefile.diff	2008-08-18 13:46:29 UTC (rev 39337)
@@ -0,0 +1,11 @@
+--- Makefile	2006-11-29 00:04:13.000000000 +0100
++++ Makefile	2008-08-18 09:05:42.000000000 +0200
+@@ -4,7 +4,7 @@
+ include vsn.mk
+ 
+ 
+-all debug clean:	
++all debug debuginfo clean:	
+ 	@set -e ; \
+ 	  for d in $(SUBDIRS) ; do \
+ 	    if [ -f $$d/Makefile ]; then ( cd $$d && $(MAKE) $@ ) || exit 1 ; fi ; \

Added: trunk/dports/erlang/erlsom/files/patch-src-Makefile.diff
===================================================================
--- trunk/dports/erlang/erlsom/files/patch-src-Makefile.diff	                        (rev 0)
+++ trunk/dports/erlang/erlsom/files/patch-src-Makefile.diff	2008-08-18 13:46:29 UTC (rev 39337)
@@ -0,0 +1,25 @@
+--- src/Makefile	2008-03-31 20:31:15.000000000 +0200
++++ src/Makefile	2008-08-18 09:14:13.000000000 +0200
+@@ -5,8 +5,12 @@
+ ifeq ($(TYPE),debug)
+ DEBUG_FLAGS = -Ddebug +debug_info
+ else
++ifeq ($(TYPE),debuginfo)
++DEBUG_FLAGS = +debug_info
++else
+ DEBUG_FLAGS =
+ endif
++endif
+ 
+ include ../vsn.mk
+ VSN=$(ERLSOM_VSN)
+@@ -34,6 +38,9 @@
+ debug:
+ 	$(MAKE) TYPE=debug
+ 
++debuginfo:
++	$(MAKE) TYPE=debuginfo
++
+ clean:
+ 	rm -f $(EBIN_FILES)
+ 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080818/36638be8/attachment.html 


More information about the macports-changes mailing list