Change to use: PTHREAD_LIBS and PTHREAD_CFLAGS.

Remove patch-configure.

PR:		ports/51452
Submitted by:	maintainer
This commit is contained in:
Vanilla I. Shu 2003-05-03 22:01:27 +00:00
parent 3a0a28ac11
commit 5627ce909d
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=80077
2 changed files with 3 additions and 13 deletions

View File

@ -21,8 +21,9 @@ LIB_DEPENDS= ming.3:${PORTSDIR}/graphics/ming \
RUN_DEPENDS= zip:${PORTSDIR}/archivers/zip
GNU_CONFIGURE= yes
CONFIGURE_ENV= LIBS="-pthread -L${LOCALBASE}/lib" \
CPPFLAGS="-I${LOCALBASE}/include -I${LOCALBASE}/include/ming"
CONFIGURE_ENV= LIBS="-L${LOCALBASE}/lib ${PTHREAD_LIBS}" \
CPPFLAGS="-I${LOCALBASE}/include -I${LOCALBASE}/include/ming \
${PTHREAD_CFLAGS}"
USE_GMAKE= yes
USE_XLIB= yes

View File

@ -1,11 +0,0 @@
--- configure.orig Thu Mar 27 15:57:05 2003
+++ configure Tue Apr 22 01:54:16 2003
@@ -5336,7 +5336,7 @@
ac_save_CXXFLAGS=$CXXFLAGS
ac_save_LDFLAGS=$LDFLAGS
CXXFLAGS="$CXXFLAGS $AVIFILE_CXXFLAGS"
- LDFLAGS="$LDFLAGS $AVIFILE_LDFLAGS $X_LIBS -lXv -lXxf86vm"
+ LDFLAGS="-pthread $LDFLAGS $AVIFILE_LDFLAGS $X_LIBS -lXv -lXxf86vm"
echo "$as_me:$LINENO: checking compilation of avifile test program" >&5
echo $ECHO_N "checking compilation of avifile test program... $ECHO_C" >&6