aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormarcus <marcus@FreeBSD.org>2002-05-16 23:11:53 +0800
committermarcus <marcus@FreeBSD.org>2002-05-16 23:11:53 +0800
commit074f0d0fada94d47eded565b6dd0786c59790a80 (patch)
tree82cc2a8177eaab856ba1860dd606517624142ea7
parent5fc40ae3962c13bbab8ec35df04b56e7668522cd (diff)
downloadfreebsd-ports-graphics-074f0d0fada94d47eded565b6dd0786c59790a80.tar.gz
freebsd-ports-graphics-074f0d0fada94d47eded565b6dd0786c59790a80.tar.zst
freebsd-ports-graphics-074f0d0fada94d47eded565b6dd0786c59790a80.zip
Fix the sawfish configurator under -stable. Bump PORTREVISION.
Reviewed by: sobomax
-rw-r--r--lang/librep2/Makefile3
-rw-r--r--lang/librep2/files/patch-ltmain.sh19
2 files changed, 21 insertions, 1 deletions
diff --git a/lang/librep2/Makefile b/lang/librep2/Makefile
index 630dc923d4d..6dce2034d41 100644
--- a/lang/librep2/Makefile
+++ b/lang/librep2/Makefile
@@ -7,6 +7,7 @@
PORTNAME= librep2
PORTVERSION= 2002.05.02
+PORTREVISION= 1
CATEGORIES= lang gnome
MASTER_SITES= ${MASTER_SITE_GNOME}
MASTER_SITE_SUBDIR= pre-gnome2/releases/gnome-2.0-desktop-20020509
@@ -26,7 +27,7 @@ USE_GMAKE= yes
INSTALLS_SHLIB= yes
GNU_CONFIGURE= yes
CONFIGURE_ENV+= CPPFLAGS="-I${LOCALBASE}/include" \
- LIBS="-L${LOCALBASE}/lib -lxpg4 -lintl" \
+ LIBS="-L${LOCALBASE}/lib -lxpg4 -lintl ${PTHREAD_LIBS}" \
LOCALBASE="${LOCALBASE}"
CONFIGURE_ARGS= --with-aclocaldir=${PREFIX}/share/aclocal
CONFIGURE_TARGET= ${ARCH}-pc-freebsd${OSREL:C/\..*//}
diff --git a/lang/librep2/files/patch-ltmain.sh b/lang/librep2/files/patch-ltmain.sh
new file mode 100644
index 00000000000..bb2407590ca
--- /dev/null
+++ b/lang/librep2/files/patch-ltmain.sh
@@ -0,0 +1,19 @@
+--- ltmain.sh.orig Wed Jan 23 11:38:40 2002
++++ ltmain.sh Sun Feb 3 01:44:17 2002
+@@ -1037,8 +1037,16 @@
+ continue
+ ;;
+
++ -pthread)
++ compile_command="$compile_command -pthread"
++ finalize_command="$finalize_command -pthread"
++ compiler_flags="$compiler_flags -pthread"
++ continue
++ ;;
++
+ -module)
+ module=yes
++ build_old_libs=no
+ continue
+ ;;
+