summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorJoe Marcus Clarke <marcus@FreeBSD.org>2004-04-09 02:10:54 +0000
committerJoe Marcus Clarke <marcus@FreeBSD.org>2004-04-09 02:10:54 +0000
commitb04bb7cdec770e836a0628df7a6a2d32aa1ca5fc (patch)
tree21ecd07b03d202f1b0df9ab3c1acc7aac776f6a5 /devel
parentMark IGNORE as it is broken with the new libgtop2, and a new version hasn't (diff)
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.
Notes
Notes: svn path=/head/; revision=106527
Diffstat (limited to 'devel')
-rw-r--r--devel/anjuta/Makefile10
-rw-r--r--devel/anjuta/files/patch-ltmain.sh21
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.