summaryrefslogtreecommitdiff
path: root/devel/pwlib
diff options
context:
space:
mode:
Diffstat (limited to 'devel/pwlib')
-rw-r--r--devel/pwlib/Makefile7
-rw-r--r--devel/pwlib/files/patch-configureac25
2 files changed, 0 insertions, 32 deletions
diff --git a/devel/pwlib/Makefile b/devel/pwlib/Makefile
index 8d049d3d1aa8..b883096f865b 100644
--- a/devel/pwlib/Makefile
+++ b/devel/pwlib/Makefile
@@ -39,7 +39,6 @@ BROKEN= Does not install on arm: mtree
.endif
CFLAGS= -O1
-CONFIGURE_ENV= PTHREAD_LIBS="${PTHREAD_LIBS}"
MAKE_ENV= STDCCFLAGS+="-I${LOCALBASE}"
CPPFLAGS+= -O1 -I${WRKSRC}/include -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
@@ -148,10 +147,4 @@ CONFIGURE_ARGS+=--disable-v4l
PLIST_SUB+= V4L="@comment "
.endif
-post-patch:
-.if ${ARCH} == sparc64 && ${OSVERSION} <= 700003
- @${REINPLACE_CMD} -e 's|P_PTHREADS_XPG6|0|' \
- ${WRKSRC}/src/ptlib/unix/tlibthrd.cxx
-.endif
-
.include <bsd.port.post.mk>
diff --git a/devel/pwlib/files/patch-configureac b/devel/pwlib/files/patch-configureac
index 43900bd8f98e..1ed4df09595d 100644
--- a/devel/pwlib/files/patch-configureac
+++ b/devel/pwlib/files/patch-configureac
@@ -101,31 +101,6 @@
AC_TRY_COMPILE([#include <semaphore.h>],
[sem_t *s = sem_open("test", O_CREAT)],
-@@ -770,18 +772,18 @@
- dnl MSWIN_DISPLAY semaphore,Semaphore Support
- dnl MSWIN_DEFINE semaphore,P_HAS_SEMAPHORES
-
--dnl Linux, Mac OS X use libpthread and -lpthread
--dnl FreeBSD uses the -pthread compiler option and uses libc_r
-+dnl FreeBSD>=5.x, Linux, Mac OS X use libpthread and -lpthread
-+dnl FreeBSD <5.x uses the -pthread compiler option and uses libc_r
-
- AC_CHECK_LIB(pthread, pthread_create, HAS_PTHREADS=yes, HAS_PTHREADS=no)
- if test ${HAS_PTHREADS} = yes ; then
-- ENDLDLIBS="$ENDLDLIBS -lpthread"
-- STDCCFLAGS="$STDCCFLAGS -D_REENTRANT"
-+ ENDLDLIBS="$ENDLDLIBS ${PTHREAD_LIBS}"
-+ STDCCFLAGS="$STDCCFLAGS -D_REENTRANT ${PTHREAD_LIBS}"
- else
- if test ${OSTYPE} = FreeBSD ; then
- HAS_PTHREADS=yes
-- ENDLDLIBS="$ENDLDLIBS -pthread"
-- STDCCFLAGS="$STDCCFLAGS -D_REENTRANT -pthread"
-+ ENDLDLIBS="$ENDLDLIBS ${PTHREAD_LIBS}"
-+ STDCCFLAGS="$STDCCFLAGS -D_REENTRANT ${PTHREAD_LIBS}"
- elif test ${OSTYPE} = FreeBSD ; then
- HAS_PTHREADS=yes
- ENDLDLIBS="$ENDLDLIBS -pthread"
@@ -928,7 +930,7 @@
AC_SUBST(HAS_PLUGINS)