source: trunk/dports/devel/allegro/files/patch-makefile.osx @ 9251

Last change on this file since 9251 was 9251, checked in by olegb, 16 years ago

Bug:
Submitted by: mww@
Reviewed by: olegb@
Approved by: mww@
Obtained from:
fix the install_name of liballeg-4.1.15.dylib

thank Markus !

  • Property svn:eol-style set to native
File size: 952 bytes
Line 
1--- makefile.osx        Fri Jul 30 15:36:23 2004
2+++ makefile.osx.new    Thu Nov 11 13:23:39 2004
3@@ -39,7 +39,7 @@
4 TEMPLATE_NAME = Allegro\ Application
5 TEMPLATE = $(TEMPLATE_DIR)/$(TEMPLATE_NAME)
6 
7-MAN_DIR = /usr/local/man
8+MAN_DIR = $(DESTDIR)$(PREFIX)/share/man
9 
10 
11 ifdef STATICLINK
12@@ -55,7 +55,7 @@
13 
14 DYLINK_FLAGS = -prebind -seg1addr 0x30000000 -dylib_compatibility_version=4.0.0 -dylib_current_version=$(shared_version)
15 
16-INSTALL_NAME = -install_name lib$(VERSION)-$(shared_major_minor).dylib
17+INSTALL_NAME = -install_name ${PREFIX}/lib/lib$(VERSION)-$(shared_version).dylib
18 INSTALL_NAME_EMBED = -install_name "`echo "@executable_path/../Frameworks/$(FRAMEWORK_NAME).framework/Versions/$(shared_version)/$(FRAMEWORK_NAME)" | sed 's!//*!/!g'`"
19 
20 ifdef EMBED
21@@ -163,7 +163,7 @@
22 
23 # -------- rules for installing and removing the library files --------
24 
25-INSTALLDIR = /usr/local
26+INSTALLDIR = $(DESTDIR)$(PREFIX)
27 LIBDIR = lib
28 INCDIR = include
29 
Note: See TracBrowser for help on using the repository browser.