[29458] trunk/dports/devel/allegro/files/patch-makefile.osx

source_changes at macosforge.org source_changes at macosforge.org
Sun Sep 23 18:55:04 PDT 2007


Revision: 29458
          http://trac.macosforge.org/projects/macports/changeset/29458
Author:   raimue at macports.org
Date:     2007-09-23 18:55:04 -0700 (Sun, 23 Sep 2007)

Log Message:
-----------
devel/allegro:
fix paths in allegro-config

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

Modified: trunk/dports/devel/allegro/files/patch-makefile.osx
===================================================================
--- trunk/dports/devel/allegro/files/patch-makefile.osx	2007-09-24 00:46:28 UTC (rev 29457)
+++ trunk/dports/devel/allegro/files/patch-makefile.osx	2007-09-24 01:55:04 UTC (rev 29458)
@@ -1,5 +1,5 @@
---- makefile.osx.org	2006-11-25 18:05:25.000000000 -0800
-+++ makefile.osx	2007-04-27 21:26:10.000000000 -0700
+--- makefile.osx.orig	2007-09-24 02:05:58.000000000 +0200
++++ makefile.osx	2007-09-24 02:11:45.000000000 +0200
 @@ -38,7 +38,7 @@
  TEMPLATE_NAME = Allegro\ Application
  TEMPLATE = $(TEMPLATE_DIR)/$(TEMPLATE_NAME)
@@ -27,3 +27,17 @@
  BINDIR = bin
  LIBDIR = lib
  INCDIR = include
+@@ -210,11 +210,11 @@
+ else
+ 	@sed -e "s/@LINK_WITH_STATIC_LIBS@/no/" misc/allegro-config.in >temp
+ endif
+-	@sed -e "s/@prefix@/\/usr\/local/" temp > temp2
++	@sed -e "s:@prefix@:$(PREFIX):" 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
+-	@sed -e "s/@INCLUDE_PREFIX@/\/usr\/local/" temp >temp2
++	@sed -e "s:@INCLUDE_PREFIX@:$(PREFIX):" temp >temp2
+ 	@sed -e "s/@FRAMEWORKS@/-framework Cocoa -framework $(FRAMEWORK_NAME) -l$(VERSION)-main/" temp2 > temp
+ 	@sed -e "s/accepts_frameworks=no/accepts_frameworks=yes/" temp > temp2
+ 	@sed -e "s/{lib_type} \$$allegro_libs/{lib_type}_s \$$allegro_libs/" temp2 > temp

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20070923/a4a5a9f3/attachment.html


More information about the macports-changes mailing list