summaryrefslogtreecommitdiff
path: root/graphics/zphoto
diff options
context:
space:
mode:
authorVanilla I. Shu <vanilla@FreeBSD.org>2003-05-03 22:01:27 +0000
committerVanilla I. Shu <vanilla@FreeBSD.org>2003-05-03 22:01:27 +0000
commit5627ce909d1e78af757e2276811fd0c0b10957da (patch)
tree008b8963a6dc54ceff10ddc350cce0b12ad2d981 /graphics/zphoto
parentUpdate to 0.99.9.1. (diff)
Change to use: PTHREAD_LIBS and PTHREAD_CFLAGS.
Remove patch-configure. PR: ports/51452 Submitted by: maintainer
Notes
Notes: svn path=/head/; revision=80077
Diffstat (limited to 'graphics/zphoto')
-rw-r--r--graphics/zphoto/Makefile5
-rw-r--r--graphics/zphoto/files/patch-configure11
2 files changed, 3 insertions, 13 deletions
diff --git a/graphics/zphoto/Makefile b/graphics/zphoto/Makefile
index 04da5d6a16cf..79e0591dc388 100644
--- a/graphics/zphoto/Makefile
+++ b/graphics/zphoto/Makefile
@@ -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
diff --git a/graphics/zphoto/files/patch-configure b/graphics/zphoto/files/patch-configure
deleted file mode 100644
index 59a64276cab4..000000000000
--- a/graphics/zphoto/files/patch-configure
+++ /dev/null
@@ -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