summaryrefslogtreecommitdiff
path: root/dev-tcltk/blt/files/blt-2.5.3-darwin.patch
diff options
context:
space:
mode:
authorAlfredo Tupone <tupone@gentoo.org>2021-01-04 10:15:06 +0100
committerAlfredo Tupone <tupone@gentoo.org>2021-01-04 10:15:06 +0100
commitb439ffdd2be1e48d7667d86ec59de46ef1d86ce5 (patch)
tree383e24f38983577e40b504e65585027306f758b2 /dev-tcltk/blt/files/blt-2.5.3-darwin.patch
parent53a3bbfabfd3e26ce11dc229f3eb2d069effd3f3 (diff)
downloadgentoo-b439ffdd2be1e48d7667d86ec59de46ef1d86ce5.tar.gz
gentoo-b439ffdd2be1e48d7667d86ec59de46ef1d86ce5.tar.bz2
gentoo-b439ffdd2be1e48d7667d86ec59de46ef1d86ce5.zip
dev-tcltk/blt: version bump to 2.5.3
Package-Manager: Portage-3.0.12, Repoman-3.0.2 Signed-off-by: Alfredo Tupone <tupone@gentoo.org>
Diffstat (limited to 'dev-tcltk/blt/files/blt-2.5.3-darwin.patch')
-rw-r--r--dev-tcltk/blt/files/blt-2.5.3-darwin.patch36
1 files changed, 36 insertions, 0 deletions
diff --git a/dev-tcltk/blt/files/blt-2.5.3-darwin.patch b/dev-tcltk/blt/files/blt-2.5.3-darwin.patch
new file mode 100644
index 000000000000..11524c2e74dd
--- /dev/null
+++ b/dev-tcltk/blt/files/blt-2.5.3-darwin.patch
@@ -0,0 +1,36 @@
+--- a/configure.in
++++ b/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"
+ ;;
+@@ -1145,6 +1145,13 @@
+ LDFLAGS=""
+ ;;
+
++ *-darwin*)
++ SHLIB_CFLAGS=""
++ SHLIB_LD="${CC}"
++ SHLIB_LD_FLAGS='-dynamiclib -install_name $(libdir)/$@'
++ SHLIB_SUFFIX=".dylib"
++ ;;
++
+ *-dgux*)
+ SHLIB_CFLAGS="-K PIC"
+ SHLIB_LD="cc"