Attached is an update to libqrencode that brings it all the way up to
3.4.3. I needed an updated version that included the -t option.

It looks like graphics/prison and productivity/glabels are the only
consumers. Any users of either of those willing to test?

I've tested libqrencode on amd64. Thanks.

-- 
James Turner
Index: Makefile
===================================================================
RCS file: /cvs/ports/graphics/libqrencode/Makefile,v
retrieving revision 1.3
diff -u -p -u -p -r1.3 Makefile
--- Makefile    21 Mar 2013 08:45:18 -0000      1.3
+++ Makefile    2 Feb 2014 20:48:14 -0000
@@ -4,20 +4,20 @@ SHARED_ONLY=          Yes
 
 COMMENT=               library for encoding data in a QR Code symbol
 
-DISTNAME=              qrencode-3.1.1
+DISTNAME=              qrencode-3.4.3
 PKGNAME=               lib${DISTNAME}
-SHARED_LIBS +=  qrencode             0.0      # 3.1
+SHARED_LIBS +=  qrencode             1.0      # 3.4
 
 CATEGORIES=            graphics
 
-HOMEPAGE=              http://fukuchi.org/works/qrencode/index.en.html
+HOMEPAGE=              http://fukuchi.org/works/qrencode/
 
-# LGPLv2.1
+# LGPLv2.1+
 PERMIT_PACKAGE_CDROM=  Yes
 
-MASTER_SITES=          ${HOMEPAGE:=/../}
+MASTER_SITES=          http://fukuchi.org/works/qrencode/
 
-WANTLIB += c m png z
+WANTLIB += c m png pthread z
 
 LIB_DEPENDS=           graphics/png
 
@@ -26,16 +26,11 @@ CONFIGURE_STYLE=    gnu
 CONFIGURE_ARGS+=       ${CONFIGURE_SHARED} \
                        --with-tools \
                        --with-tests
-CONFIGURE_ENV+=        png_CFLAGS="`pkg-config --cflags libpng`" \
+CONFIGURE_ENV+=        LIBS=-lpthread \
+                       png_CFLAGS="`pkg-config --cflags libpng`" \
                        png_LIBS="`pkg-config --libs libpng`"
 
-TEST_TARGETS=  test_qrinput test_bitstream test_estimatebit \
-                       test_qrspec test_rs test_qrencode prof_qrencode \
-                       test_split test_monkey
-
 do-test:
-.for r in ${TEST_TARGETS}
-       cd ${WRKSRC}/tests/ && ./$r
-.endfor
+       cd ${WRKSRC}/tests/ && ./test_all.sh
 
 .include <bsd.port.mk>
Index: distinfo
===================================================================
RCS file: /cvs/ports/graphics/libqrencode/distinfo,v
retrieving revision 1.1.1.1
diff -u -p -u -p -r1.1.1.1 distinfo
--- distinfo    27 Jul 2011 15:30:49 -0000      1.1.1.1
+++ distinfo    2 Feb 2014 20:48:14 -0000
@@ -1,5 +1,2 @@
-MD5 (qrencode-3.1.1.tar.gz) = 2X9ny++vV35sFZI/PMV7ag==
-RMD160 (qrencode-3.1.1.tar.gz) = Isgyw2Pz7TjTpER5q4WZx5pmX3I=
-SHA1 (qrencode-3.1.1.tar.gz) = w+tsRFU9qmEqm89BPTyrfEYkE3M=
-SHA256 (qrencode-3.1.1.tar.gz) = FDryo0bA9jJA4EbLNJgAcDFLSXsh9FJrRghiZP1rs28=
-SIZE (qrencode-3.1.1.tar.gz) = 377838
+SHA256 (qrencode-3.4.3.tar.gz) = GMSvDpmmIpASENjooXTnyOd5EfKszunIt9B0tdANR8g=
+SIZE (qrencode-3.4.3.tar.gz) = 467774
Index: pkg/PLIST
===================================================================
RCS file: /cvs/ports/graphics/libqrencode/pkg/PLIST,v
retrieving revision 1.1.1.1
diff -u -p -u -p -r1.1.1.1 PLIST
--- pkg/PLIST   27 Jul 2011 15:30:49 -0000      1.1.1.1
+++ pkg/PLIST   2 Feb 2014 20:48:14 -0000
@@ -4,6 +4,5 @@ include/qrencode.h
 lib/libqrencode.a
 lib/libqrencode.la
 @lib lib/libqrencode.so.${LIBqrencode_VERSION}
-lib/pkgconfig/
 lib/pkgconfig/libqrencode.pc
 @man man/man1/qrencode.1

Reply via email to