diff options
author | marcus <marcus@FreeBSD.org> | 2004-04-09 10:10:54 +0800 |
---|---|---|
committer | marcus <marcus@FreeBSD.org> | 2004-04-09 10:10:54 +0800 |
commit | 237ca0667cb1d9814705f68fb33de7d5c8e7524a (patch) | |
tree | 1c35c919dd974c7e8bfeedd29b02526263655002 /devel/anjuta | |
parent | 876548be20acce9418766bd0723c86f1b0a235b7 (diff) | |
download | freebsd-ports-gnome-237ca0667cb1d9814705f68fb33de7d5c8e7524a.tar.gz freebsd-ports-gnome-237ca0667cb1d9814705f68fb33de7d5c8e7524a.tar.zst freebsd-ports-gnome-237ca0667cb1d9814705f68fb33de7d5c8e7524a.zip |
Fix threading issues with libc_r on 5.2.1 by making sure to pass -lc_r to
the linker (Dreaded Thread Problem). Thanks to bland for digging into this.
Diffstat (limited to 'devel/anjuta')
-rw-r--r-- | devel/anjuta/Makefile | 10 | ||||
-rw-r--r-- | devel/anjuta/files/patch-ltmain.sh | 21 |
2 files changed, 17 insertions, 14 deletions
diff --git a/devel/anjuta/Makefile b/devel/anjuta/Makefile index 335cf2fcb68d..573b55c6024a 100644 --- a/devel/anjuta/Makefile +++ b/devel/anjuta/Makefile @@ -7,7 +7,7 @@ PORTNAME= anjuta PORTVERSION= 1.2.1 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= devel gnome MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= anjuta @@ -38,10 +38,4 @@ post-install: .endfor .endif -.include <bsd.port.pre.mk> - -.if ${OSVERSION} >= 500000 -IGNORE= "Crashes when trying to build a project" -.endif - -.include <bsd.port.post.mk> +.include <bsd.port.mk> diff --git a/devel/anjuta/files/patch-ltmain.sh b/devel/anjuta/files/patch-ltmain.sh index 1c2fba5d533f..cd8532332c91 100644 --- a/devel/anjuta/files/patch-ltmain.sh +++ b/devel/anjuta/files/patch-ltmain.sh @@ -1,6 +1,15 @@ ---- ltmain.sh.orig Fri Sep 13 15:38:11 2002 -+++ ltmain.sh Fri Oct 11 01:44:24 2002 -@@ -1073,8 +1073,16 @@ +--- ltmain.sh.orig Thu Jan 22 10:41:27 2004 ++++ ltmain.sh Thu Apr 8 22:08:27 2004 +@@ -1075,7 +1075,7 @@ + esac + elif test "X$arg" = "X-lc_r"; then + case $host in +- *-*-openbsd* | *-*-freebsd*) ++ *-*-openbsd* | *-*-freebsd4*) + # Do not include libc_r directly, use -pthread flag. + continue + ;; +@@ -1085,8 +1085,16 @@ continue ;; @@ -17,8 +26,8 @@ continue ;; -@@ -2502,6 +2510,9 @@ - *-*-openbsd*) +@@ -2485,6 +2493,9 @@ + *-*-openbsd* | *-*-freebsd*) # Do not include libc due to us having libc/libc_r. ;; + *-*-freebsd*) @@ -27,7 +36,7 @@ *) # Add libc to deplibs on all other systems if necessary. if test $build_libtool_need_lc = "yes"; then -@@ -4286,10 +4297,12 @@ +@@ -4342,10 +4353,12 @@ fi # Install the pseudo-library for information purposes. |