ports/51452: Maintainer Update: graphics/zphoto (PTHREAD_LIBS, PTHREAD_CFLAGS)

UMENO Takashi umeno at rr.iij4u.or.jp
Sun Apr 27 06:30:13 UTC 2003


>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 at 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:



More information about the freebsd-ports-bugs mailing list