ports/63627: Maintainer Update: graphics/zphoto to 0.7
UMENO Takashi
umeno at rr.iij4u.or.jp
Tue Mar 2 04:20:12 UTC 2004
>Number: 63627
>Category: ports
>Synopsis: Maintainer Update: graphics/zphoto to 0.7
>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: Mon Mar 01 20:20:12 PST 2004
>Closed-Date:
>Last-Modified:
>Originator: UMENO Takashi
>Release: FreeBSD 4.9-STABLE i386
>Organization:
individual
>Environment:
System: FreeBSD belldandy.unnumbered.net 4.9-STABLE FreeBSD 4.9-STABLE #0: Tue Mar 2 00:29:06 JST 2004 umeno at belldandy.unnumbered.net:/usr/obj/usr/src/sys/SAKUYA21 i386
>Description:
Maintainer Update: graphics/zphoto to 0.7
New file:
files/patch-configure
>How-To-Repeat:
N/A
>Fix:
diff -urN zphoto.orig/Makefile zphoto/Makefile
--- zphoto.orig/Makefile Wed Feb 4 14:45:34 2004
+++ zphoto/Makefile Tue Mar 2 11:01:23 2004
@@ -6,8 +6,7 @@
#
PORTNAME= zphoto
-PORTVERSION= 0.6
-PORTREVISION= 1
+PORTVERSION= 0.7
CATEGORIES= graphics www
MASTER_SITES= http://namazu.org/~satoru/zphoto/
MASTER_SITE_SUBDIR= ${PORTNAME}
@@ -21,11 +20,15 @@
aviplay.0:${PORTSDIR}/multimedia/avifile
RUN_DEPENDS= zip:${PORTSDIR}/archivers/zip
+USE_REINPLACE= yes
GNU_CONFIGURE= yes
CONFIGURE_ENV= LIBS="-L${LOCALBASE}/lib ${PTHREAD_LIBS}" \
- CPPFLAGS="-I${LOCALBASE}/include -I${LOCALBASE}/include/ming \
+ CPPFLAGS="-I${LOCALBASE}/include \
${PTHREAD_CFLAGS}"
-USE_GMAKE= yes
+USE_GMAKE= yes
USE_XLIB= yes
+
+post-patch:
+ @${REINPLACE_CMD} -e 's|<ming.h>|<ming/ming.h>|g' ${WRKSRC}/*.c ${WRKSRC}/configure
.include <bsd.port.mk>
diff -urN zphoto.orig/distinfo zphoto/distinfo
--- zphoto.orig/distinfo Sun Apr 27 17:14:23 2003
+++ zphoto/distinfo Fri Feb 27 09:37:44 2004
@@ -1 +1,2 @@
-MD5 (zphoto-0.6.tar.gz) = a3246c0ed9c072fe39f926d08dae45f5
+MD5 (zphoto-0.7.tar.gz) = e158889b25fbfa985e431897f6309e96
+SIZE (zphoto-0.7.tar.gz) = 143468
diff -urN zphoto.orig/files/patch-configure zphoto/files/patch-configure
--- zphoto.orig/files/patch-configure Thu Jan 1 09:00:00 1970
+++ zphoto/files/patch-configure Tue Mar 2 10:21:56 2004
@@ -0,0 +1,11 @@
+--- configure.orig Thu Feb 26 19:09:36 2004
++++ configure Tue Mar 2 10:21:20 2004
+@@ -3725,7 +3725,7 @@
+ SWFMovie_save(movie, "foo"); /* 0.2a API */
+ }
+ EOF
+-if $CC -c tmp.c > /dev/null 2>&1; then
++if $CC -c $CFLAGS $CPPFLAGS tmp.c > /dev/null 2>&1; then
+
+ cat >>confdefs.h <<_ACEOF
+ #define MING_0_2a 1
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list