Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 27 Apr 2003 15:29:47 +0900 (JST)
From:      UMENO Takashi <umeno@rr.iij4u.or.jp>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/51452: Maintainer Update: graphics/zphoto (PTHREAD_LIBS, PTHREAD_CFLAGS)
Message-ID:  <200304270629.h3R6Tl5C024295@belldandy.unnumbered.net>
Resent-Message-ID: <200304270630.h3R6UAgR055954@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         51452
>Category:       ports
>Synopsis:       Maintainer Update: graphics/zphoto (PTHREAD_LIBS, PTHREAD_CFLAGS)
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Sat Apr 26 23:30:10 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator:     UMENO Takashi
>Release:        FreeBSD 4.8-STABLE i386
>Organization:
personal
>Environment:
System: FreeBSD belldandy.unnumbered.net 4.8-STABLE FreeBSD 4.8-STABLE #0: Sun Apr 27 03:51:55 JST 2003 umeno@belldandy.unnumbered.net:/usr/src/sys/compile/SAKUYA18 i386


	
>Description:
change to use PTHREAD_LIBS and PTHREAD_CFLAGS.
Remove file:
files/patch-configure

Remove directory:
files

>How-To-Repeat:
N/A
>Fix:



diff -urN zphoto.orig/Makefile zphoto/Makefile
--- zphoto.orig/Makefile	Sun Apr 27 13:25:04 2003
+++ zphoto/Makefile	Sun Apr 27 13:34:27 2003
@@ -21,8 +21,9 @@
 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 -urN zphoto.orig/files/patch-configure zphoto/files/patch-configure
--- zphoto.orig/files/patch-configure	Sun Apr 27 08:54:38 2003
+++ zphoto/files/patch-configure	Thu Jan  1 09:00:00 1970
@@ -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
>Release-Note:
>Audit-Trail:
>Unformatted:


Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200304270629.h3R6Tl5C024295>