Title: [commits] (vajda) [16115] added patch for building on leopard (when doing _full_ build)
Revision
16115
Author
vajda
Date
2007-12-12 16:48:18 -0800 (Wed, 12 Dec 2007)

Log Message

added patch for building on leopard (when doing _full_ build)

Modified Paths

Added Paths

Diff

Modified: trunk/external/readline/Makefile (16114 => 16115)

--- trunk/external/readline/Makefile	2007-12-12 17:43:49 UTC (rev 16114)
+++ trunk/external/readline/Makefile	2007-12-13 00:48:18 UTC (rev 16115)
@@ -11,7 +11,7 @@
 
 BUILD=build_$(SNAP)
 
-$(SRC)/$(BUILD)/Makefile: expand
+$(SRC)/$(BUILD)/Makefile: expand apply
 	mkdir -p $(SRC)/$(BUILD)
 	cd $(SRC)/$(BUILD); ../configure --prefix=$(PREFIX)
 
@@ -19,6 +19,9 @@
 	$(MAKE) -C $(SRC)/$(BUILD)
 	$(MAKE) -C $(SRC)/$(BUILD) install
 
+apply: patches-$(VERSION)-$(OS)
+	patch -Nup0 < $< ; echo ok
+
 ifneq (/,$(SRC)/$(BUILD))
 clean:
 	rm -rf $(SRC)/$(BUILD)
@@ -27,8 +30,7 @@
 
 binaries:
 	cd $(BUILD_ROOT); \
-        tar -cvzf $(READLINE)/$(TARBALL) $(SNAP)/lib/libreadline*.dylib \
-            --exclude '*.a'
+        tar -cvzf $(READLINE)/$(TARBALL) $(SNAP)/lib/libreadline*.dylib
 
 install: $(TARBALL)
 	cp -p $(TARBALL) $(CHANDLERARCHIVES)

Added: trunk/external/readline/patches-5.2-Darwin (16114 => 16115)

--- trunk/external/readline/patches-5.2-Darwin	2007-12-12 17:43:49 UTC (rev 16114)
+++ trunk/external/readline/patches-5.2-Darwin	2007-12-13 00:48:18 UTC (rev 16115)
@@ -0,0 +1,21 @@
+--- readline-5.2/support/shobj-conf	2006-04-11 06:15:43.000000000 -0700
++++ readline-5.2-patched/support/shobj-conf	2007-12-12 14:36:36.000000000 -0800
+@@ -137,17 +137,17 @@
+ 		SHOBJ_LDFLAGS='-shared'
+ 
+ 		SHLIB_XLDFLAGS='-R$(libdir)'
+ 		SHLIB_LIBVERSION='$(SHLIB_LIBSUFF).$(SHLIB_MAJOR)$(SHLIB_MINOR)'
+ 	fi
+ 	;;
+ 
+ # Darwin/MacOS X
+-darwin8*)
++darwin[8-9]*)
+ 	SHOBJ_STATUS=supported
+ 	SHLIB_STATUS=supported
+ 	
+ 	SHOBJ_CFLAGS='-fno-common'
+ 
+ 	SHOBJ_LD='MACOSX_DEPLOYMENT_TARGET=10.3 ${CC}'
+ 
+ 	SHLIB_LIBVERSION='$(SHLIB_MAJOR)$(SHLIB_MINOR).$(SHLIB_LIBSUFF)'




_______________________________________________
Commits mailing list
[email protected]
http://lists.osafoundation.org/mailman/listinfo/commits

Reply via email to