diff options
author | ahze <ahze@FreeBSD.org> | 2006-09-16 00:06:41 +0800 |
---|---|---|
committer | ahze <ahze@FreeBSD.org> | 2006-09-16 00:06:41 +0800 |
commit | ea2755681902852672dd8c190b2e4155d0f64199 (patch) | |
tree | cb3a9821ab0b9f6bdbe25f08ff2ed24d1dafd3df /devel/pwlib | |
parent | b44dec658e9ff130f08413e824035a2658cd2e0e (diff) | |
download | freebsd-ports-gnome-ea2755681902852672dd8c190b2e4155d0f64199.tar.gz freebsd-ports-gnome-ea2755681902852672dd8c190b2e4155d0f64199.tar.zst freebsd-ports-gnome-ea2755681902852672dd8c190b2e4155d0f64199.zip |
- Sparc64 <= 700003 is missing pthread_mutex_timedlock so use work around
to fix linking with net/ekiga and others
PR: 103285
Submitted by: ahze (me)
Approved by: maintainer
Diffstat (limited to 'devel/pwlib')
-rw-r--r-- | devel/pwlib/Makefile | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/devel/pwlib/Makefile b/devel/pwlib/Makefile index f5438dd80827..2dc55f742e35 100644 --- a/devel/pwlib/Makefile +++ b/devel/pwlib/Makefile @@ -7,6 +7,7 @@ PORTNAME= pwlib PORTVERSION= 1.10.1 +PORTREVISION= 1 PORTEPOCH= 1 CATEGORIES= devel MASTER_SITES= http://www.voxgratia.org/releases/ @@ -125,6 +126,10 @@ PLIST_SUB+= BSDVIDEO="@comment " .endif post-patch: +.if ${ARCH} == sparc64 && ${OSVERSION} <= 700003 + @${REINPLACE_CMD} -e 's|P_PTHREADS_XPG6|0|' \ + ${WRKSRC}/src/ptlib/unix/tlibthrd.cxx +.endif .if ${OSVERSION} < 500000 @${REINPLACE_CMD} -e 's|<stdint.h>|<inttypes.h>|' \ ${WRKSRC}/src/ptlib/common/tinyjpeg.cxx \ |