Re-fix the sawfish configurators after switching over to librep.

Reported by:	Anders Andersson <anders@hack.org>
Pointy hat to:	me
This commit is contained in:
Joe Marcus Clarke 2002-07-03 05:00:30 +00:00
parent edb95b1e52
commit 2881c2261a
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=62371
2 changed files with 21 additions and 1 deletions

View file

@ -7,6 +7,7 @@
PORTNAME= librep PORTNAME= librep
PORTVERSION= 0.16.1 PORTVERSION= 0.16.1
PORTREVISION= 1
CATEGORIES= lang gnome CATEGORIES= lang gnome
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= librep MASTER_SITE_SUBDIR= librep
@ -26,7 +27,7 @@ USE_GMAKE= yes
INSTALLS_SHLIB= yes INSTALLS_SHLIB= yes
GNU_CONFIGURE= yes GNU_CONFIGURE= yes
CONFIGURE_ENV+= CPPFLAGS="-I${LOCALBASE}/include" \ CONFIGURE_ENV+= CPPFLAGS="-I${LOCALBASE}/include" \
LIBS="-L${LOCALBASE}/lib -lxpg4 -lintl" LIBS="-L${LOCALBASE}/lib -lxpg4 -lintl ${PTHREAD_LIBS}"
CONFIGURE_ARGS= --with-aclocaldir=${PREFIX}/share/aclocal CONFIGURE_ARGS= --with-aclocaldir=${PREFIX}/share/aclocal
CONFIGURE_TARGET= ${ARCH}-pc-freebsd${OSREL:C/\..*//} CONFIGURE_TARGET= ${ARCH}-pc-freebsd${OSREL:C/\..*//}

View file

@ -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
;;