* [gentoo-commits] gentoo-x86 commit in dev-tcltk/blt/files: blt-2.4z-darwin.patch
@ 2011-07-01 14:54 Fabian Groffen (grobian)
0 siblings, 0 replies; 2+ messages in thread
From: Fabian Groffen (grobian) @ 2011-07-01 14:54 UTC (permalink / raw
To: gentoo-commits
grobian 11/07/01 14:54:53
Modified: blt-2.4z-darwin.patch
Log:
Fix broken darwin patch, thanks Honza Macháček in bug #373695
(Portage version: 2.2.01.18826-prefix/cvs/Darwin powerpc)
Revision Changes Path
1.2 dev-tcltk/blt/files/blt-2.4z-darwin.patch
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-tcltk/blt/files/blt-2.4z-darwin.patch?rev=1.2&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-tcltk/blt/files/blt-2.4z-darwin.patch?rev=1.2&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-tcltk/blt/files/blt-2.4z-darwin.patch?r1=1.1&r2=1.2
Index: blt-2.4z-darwin.patch
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-tcltk/blt/files/blt-2.4z-darwin.patch,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- blt-2.4z-darwin.patch 27 Jun 2011 17:22:24 -0000 1.1
+++ blt-2.4z-darwin.patch 1 Jul 2011 14:54:53 -0000 1.2
@@ -20,15 +20,7 @@
*)
SHLIB_SUFFIX="so"
;;
-@@ -1053,7 +1053,6 @@
- SHLIB_LD_FLAGS="$TCL_LD_FLAGS"
- SHLIB_RUNPATH="$TCL_LD_SEARCH_FLAGS"
-
--SHLIB_SUFFIX=".so"
- SHLIB_TARGET=""
- SHLIB_CFLAGS=""
- SHLIB_LIB_SPECS="${JPEG_LIB_SPEC}"
-@@ -1145,6 +1145,12 @@
+@@ -1145,6 +1145,13 @@
LDFLAGS=""
;;
@@ -36,6 +28,7 @@
+ SHLIB_CFLAGS=""
+ SHLIB_LD="${CC}"
+ SHLIB_LD_FLAGS='-dynamiclib -install_name $(libdir)/$@'
++ SHLIB_SUFFIX=".dylib"
+ ;;
+
*-dgux*)
@@ -63,15 +56,7 @@
*)
SHLIB_SUFFIX="so"
;;
-@@ -3853,7 +3853,6 @@
- SHLIB_LD_FLAGS="$TCL_LD_FLAGS"
- SHLIB_RUNPATH="$TCL_LD_SEARCH_FLAGS"
-
--SHLIB_SUFFIX=".so"
- SHLIB_TARGET=""
- SHLIB_CFLAGS=""
- SHLIB_LIB_SPECS="${JPEG_LIB_SPEC}"
-@@ -3943,6 +3943,12 @@
+@@ -3943,6 +3943,13 @@
LDFLAGS=""
;;
@@ -79,6 +64,7 @@
+ SHLIB_CFLAGS=""
+ SHLIB_LD="${CC}"
+ SHLIB_LD_FLAGS='-dynamiclib -install_name $(libdir)/$@'
++ SHLIB_SUFFIX=".dylib"
+ ;;
+
*-dgux*)
^ permalink raw reply [flat|nested] 2+ messages in thread
* [gentoo-commits] gentoo-x86 commit in dev-tcltk/blt/files: blt-2.4z-darwin.patch
@ 2011-06-27 17:22 Fabian Groffen (grobian)
0 siblings, 0 replies; 2+ messages in thread
From: Fabian Groffen (grobian) @ 2011-06-27 17:22 UTC (permalink / raw
To: gentoo-commits
grobian 11/06/27 17:22:24
Added: blt-2.4z-darwin.patch
Log:
Fix for Darwin and Prefix, marked *-macos, bug #355373
(Portage version: 2.2.01.18826-prefix/cvs/Darwin powerpc)
Revision Changes Path
1.1 dev-tcltk/blt/files/blt-2.4z-darwin.patch
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-tcltk/blt/files/blt-2.4z-darwin.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-tcltk/blt/files/blt-2.4z-darwin.patch?rev=1.1&content-type=text/plain
Index: blt-2.4z-darwin.patch
===================================================================
--- configure.in
+++ configure.in
@@ -183,9 +183,6 @@
blt_lib_prefix=""
fi
;;
- *-*-macosx)
- blt_platform="macosx"
- ;;
*)
blt_platform="unix"
;;
@@ -728,6 +725,9 @@
*-hpux*)
SHLIB_SUFFIX="sl"
;;
+ *-darwin*)
+ SHLIB_SUFFIX="dylib"
+ ;;
*)
SHLIB_SUFFIX="so"
;;
@@ -1053,7 +1053,6 @@
SHLIB_LD_FLAGS="$TCL_LD_FLAGS"
SHLIB_RUNPATH="$TCL_LD_SEARCH_FLAGS"
-SHLIB_SUFFIX=".so"
SHLIB_TARGET=""
SHLIB_CFLAGS=""
SHLIB_LIB_SPECS="${JPEG_LIB_SPEC}"
@@ -1145,6 +1145,12 @@
LDFLAGS=""
;;
+ *-darwin*)
+ SHLIB_CFLAGS=""
+ SHLIB_LD="${CC}"
+ SHLIB_LD_FLAGS='-dynamiclib -install_name $(libdir)/$@'
+ ;;
+
*-dgux*)
SHLIB_CFLAGS="-K PIC"
SHLIB_LD="cc"
--- configure
+++ configure
@@ -1279,9 +1279,6 @@
blt_lib_prefix=""
fi
;;
- *-*-macosx)
- blt_platform="macosx"
- ;;
*)
blt_platform="unix"
;;
@@ -3396,6 +3393,9 @@
*-hpux*)
SHLIB_SUFFIX="sl"
;;
+ *-darwin*)
+ SHLIB_SUFFIX="dylib"
+ ;;
*)
SHLIB_SUFFIX="so"
;;
@@ -3853,7 +3853,6 @@
SHLIB_LD_FLAGS="$TCL_LD_FLAGS"
SHLIB_RUNPATH="$TCL_LD_SEARCH_FLAGS"
-SHLIB_SUFFIX=".so"
SHLIB_TARGET=""
SHLIB_CFLAGS=""
SHLIB_LIB_SPECS="${JPEG_LIB_SPEC}"
@@ -3943,6 +3943,12 @@
LDFLAGS=""
;;
+ *-darwin*)
+ SHLIB_CFLAGS=""
+ SHLIB_LD="${CC}"
+ SHLIB_LD_FLAGS='-dynamiclib -install_name $(libdir)/$@'
+ ;;
+
*-dgux*)
SHLIB_CFLAGS="-K PIC"
SHLIB_LD="cc"
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-07-01 14:55 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-07-01 14:54 [gentoo-commits] gentoo-x86 commit in dev-tcltk/blt/files: blt-2.4z-darwin.patch Fabian Groffen (grobian)
-- strict thread matches above, loose matches on Subject: below --
2011-06-27 17:22 Fabian Groffen (grobian)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox