[60111] trunk/dports/devel/allegro

raimue at macports.org raimue at macports.org
Mon Nov 2 04:38:05 PST 2009


Revision: 60111
          http://trac.macports.org/changeset/60111
Author:   raimue at macports.org
Date:     2009-11-02 04:38:05 -0800 (Mon, 02 Nov 2009)
Log Message:
-----------
devel/allegro:
Update to version 4.2.3.1
Fix build on Snow Leopard, #21304

Modified Paths:
--------------
    trunk/dports/devel/allegro/Portfile

Added Paths:
-----------
    trunk/dports/devel/allegro/files/patch-makefile.osx.diff

Removed Paths:
-------------
    trunk/dports/devel/allegro/files/patch-makefile.osx

Modified: trunk/dports/devel/allegro/Portfile
===================================================================
--- trunk/dports/devel/allegro/Portfile	2009-11-02 12:37:19 UTC (rev 60110)
+++ trunk/dports/devel/allegro/Portfile	2009-11-02 12:38:05 UTC (rev 60111)
@@ -3,8 +3,7 @@
 PortSystem 1.0
 
 name            allegro
-version         4.2.2
-revision        1
+version         4.2.3.1
 description     A game programming library for C/C++ developers.
 long_description \
                 Allegro is a game programming library for \
@@ -17,8 +16,10 @@
 use_parallel_build  yes
 homepage        http://alleg.sourceforge.net/
 master_sites    sourceforge:alleg
-checksums       md5 87ffb1def034e0ec29a9ad4a595cda7e
-patchfiles      patch-makefile.osx
+checksums       md5     92b0af3cccc5f3b4c3c1aad69a32baa9 \
+                sha1    f541ff5f414875bddec321aa1fc55a2218754f22 \
+                rmd160  3cd9d9d833fad69e83da072d5baad250765474ea
+patchfiles      patch-makefile.osx.diff
 
 configure    {
     system "cd ${worksrcpath} && sh fix.sh macosx"

Deleted: trunk/dports/devel/allegro/files/patch-makefile.osx
===================================================================
--- trunk/dports/devel/allegro/files/patch-makefile.osx	2009-11-02 12:37:19 UTC (rev 60110)
+++ trunk/dports/devel/allegro/files/patch-makefile.osx	2009-11-02 12:38:05 UTC (rev 60111)
@@ -1,55 +0,0 @@
---- makefile.osx.orig	2007-09-25 01:01:57.000000000 +0200
-+++ makefile.osx	2007-09-25 01:03:53.000000000 +0200
-@@ -42,7 +42,7 @@
- TEMPLATE_NAME = Allegro\ Application
- TEMPLATE = $(TEMPLATE_DIR)/$(TEMPLATE_NAME)
- 
--MAN_DIR = /usr/local/man
-+MAN_DIR = $(DESTDIR)$(PREFIX)/share/man
- 
- 
- ifdef STATICLINK
-@@ -58,7 +58,7 @@
- 
- DYLINK_FLAGS = -compatibility_version $(compatibility_version) -current_version $(shared_version)
- 
--INSTALL_NAME = -install_name lib$(VERSION)-$(shared_major_minor).dylib
-+INSTALL_NAME = -install_name $(PREFIX)/lib/lib$(VERSION)-$(shared_version).dylib
- INSTALL_NAME_EMBED = -install_name "`echo "@executable_path/../Frameworks/$(FRAMEWORK_NAME).framework/Versions/$(shared_version)/$(FRAMEWORK_NAME)" | sed 's!//*!/!g'`"
- 
- ifdef EMBED
-@@ -84,7 +84,7 @@
- ifdef WARNMODE
-    WFLAGS = -Wall -W -Werror -Wno-unused -Wno-long-double
- else
--   WFLAGS = -Wall -Wno-unused -Wno-long-double
-+   WFLAGS = -Wall -Wno-unused
- endif
- 
- ifdef TARGET_ARCH_COMPAT
-@@ -169,7 +169,7 @@
- # -------- rules for installing and removing the library files --------
- 
- DESTDIR =
--INSTALLDIR = $(DESTDIR)/usr/local
-+INSTALLDIR = $(DESTDIR)$(PREFIX)
- BINDIR = bin
- LIBDIR = lib
- INCDIR = include
-@@ -203,11 +203,11 @@
- else
- 	@sed -e "s/@LINK_WITH_STATIC_LIBS@/no/" misc/allegro-config.in >temp
- endif
--	@sed -e "s#@prefix@#$(INSTALLDIR)#" temp > temp2
--	@sed -e "s#@INCLUDE_PREFIX@#$(INSTALLDIR)#" temp2 > temp
--	@sed -e "s#@includedir@#$(INSTALLDIR)/include#" temp > temp2
--	@sed -e "s#@libdir@#$(INSTALLDIR)/lib#" temp2 > temp
--	@sed -e "s#@bindir@#$(INSTALLDIR)/bin#" temp > temp2
-+	@sed -e "s#@prefix@#$(PREFIX)#" temp > temp2
-+	@sed -e "s#@INCLUDE_PREFIX@#$(PREFIX)#" temp2 > temp
-+	@sed -e "s#@includedir@#$(PREFIX)/include#" temp > temp2
-+	@sed -e "s#@libdir@#$(PREFIX)/lib#" temp2 > temp
-+	@sed -e "s#@bindir@#$(PREFIX)/bin#" temp > temp2
- 	@sed -e "s/@LIB_TO_LINK@/$(VERSION)/" temp2 > temp
- 	@sed -e "s/@LDFLAGS@//" temp > temp2
- 	@sed -e "s/@LIBS@/$(STATIC_LIBRARIES)/" temp2 > temp

Copied: trunk/dports/devel/allegro/files/patch-makefile.osx.diff (from rev 60108, trunk/dports/devel/allegro/files/patch-makefile.osx)
===================================================================
--- trunk/dports/devel/allegro/files/patch-makefile.osx.diff	                        (rev 0)
+++ trunk/dports/devel/allegro/files/patch-makefile.osx.diff	2009-11-02 12:38:05 UTC (rev 60111)
@@ -0,0 +1,46 @@
+--- makefile.osx.orig	2009-11-02 13:25:15.000000000 +0100
++++ makefile.osx	2009-11-02 13:27:45.000000000 +0100
+@@ -47,7 +47,7 @@
+ TEMPLATE_NAME = Allegro\ Application
+ TEMPLATE = $(TEMPLATE_DIR)/$(TEMPLATE_NAME)
+ 
+-MAN_DIR = /usr/local/man
++MAN_DIR = $(DESTDIR)$(PREFIX)/share/man
+ 
+ 
+ ifdef STATICLINK
+@@ -63,7 +63,7 @@
+ 
+ DYLINK_FLAGS = -compatibility_version $(compatibility_version) -current_version $(shared_version)
+ 
+-INSTALL_NAME = -install_name lib$(VERSION)-$(shared_major_minor).dylib
++INSTALL_NAME = -install_name $(PREFIX)/lib$(VERSION)-$(shared_major_minor).dylib
+ INSTALL_NAME_EMBED = -install_name "`echo "@executable_path/../Frameworks/$(FRAMEWORK_NAME).framework/Versions/$(shared_version)/$(FRAMEWORK_NAME)" | sed 's!//*!/!g'`"
+ 
+ ifdef EMBED
+@@ -174,7 +174,7 @@
+ # -------- rules for installing and removing the library files --------
+ 
+ DESTDIR =
+-INSTALLDIR = $(DESTDIR)/usr/local
++INSTALLDIR = $(DESTDIR)$(PREFIX)
+ BINDIR = bin
+ LIBDIR = lib
+ INCDIR = include
+@@ -208,11 +208,11 @@
+ else
+ 	@sed -e "s/@LINK_WITH_STATIC_LIBS@/no/" misc/allegro-config.in >temp
+ endif
+-	@sed -e "s#@prefix@#$(INSTALLDIR)#" temp > temp2
+-	@sed -e "s#@INCLUDE_PREFIX@#$(INSTALLDIR)#" temp2 > temp
+-	@sed -e "s#@includedir@#$(INSTALLDIR)/include#" temp > temp2
+-	@sed -e "s#@libdir@#$(INSTALLDIR)/lib#" temp2 > temp
+-	@sed -e "s#@bindir@#$(INSTALLDIR)/bin#" temp > temp2
++	@sed -e "s#@prefix@#$(PREFIX)#" temp > temp2
++	@sed -e "s#@INCLUDE_PREFIX@#$(PREFIX)#" temp2 > temp
++	@sed -e "s#@includedir@#$(PREFIX)/include#" temp > temp2
++	@sed -e "s#@libdir@#$(PREFIX)/lib#" temp2 > temp
++	@sed -e "s#@bindir@#$(PREFIX)/bin#" temp > temp2
+ 	@sed -e "s/@LIB_TO_LINK@/$(VERSION)/" temp2 > temp
+ 	@sed -e "s/@LDFLAGS@//" temp > temp2
+ 	@sed -e "s/@LIBS@/$(STATIC_LIBRARIES)/" temp2 > temp
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20091102/0f6d4e14/attachment-0001.html>


More information about the macports-changes mailing list