MAINTAINER= ashish@FreeBSD.org
COMMENT= This library provides weak aliases for pthread functions
USES= gmake pkgconfig
USES= pathfix
USE_GNOME= gnomehack
USE_BZIP2= yes
USE_LDCONFIG= yes
--- configure.orig Wed Jan 24 17:10:44 2007
+++ configure Wed Jan 24 17:11:08 2007
@@ -20705,7 +20705,7 @@
_ACEOF
else
- PKG_CONFIG_LIBS='-L${libdir} -pthread-stubs'
+ PKG_CONFIG_LIBS='-L${libdir} -lpthread-stubs'
fi
done
- esac
- fi
+ case $host_os in
+ freebsd[123]*) objformat=aout ;;
+ freebsd[123].*) objformat=aout ;;
+ *) objformat=elf ;;
+ esac
version_type=freebsd-$objformat