[Midnightbsd-cvs] mports [19919] trunk/graphics/libqrencode/Makefile: use pthread explicitly

laffer1 at midnightbsd.org laffer1 at midnightbsd.org
Fri Aug 21 08:41:36 EDT 2015


Revision: 19919
          http://svnweb.midnightbsd.org/mports/?rev=19919
Author:   laffer1
Date:     2015-08-21 08:41:35 -0400 (Fri, 21 Aug 2015)
Log Message:
-----------
use pthread explicitly

Modified Paths:
--------------
    trunk/graphics/libqrencode/Makefile

Modified: trunk/graphics/libqrencode/Makefile
===================================================================
--- trunk/graphics/libqrencode/Makefile	2015-08-21 02:30:25 UTC (rev 19918)
+++ trunk/graphics/libqrencode/Makefile	2015-08-21 12:41:35 UTC (rev 19919)
@@ -3,6 +3,7 @@
 
 PORTNAME=	libqrencode
 PORTVERSION=	3.4.4
+PORTREVISION=	1
 CATEGORIES=	graphics
 MASTER_SITES=	http://fukuchi.org/works/qrencode/
 DISTNAME=	qrencode-${PORTVERSION}
@@ -14,7 +15,7 @@
 
 LIB_DEPENDS=	libpng.so:${PORTSDIR}/graphics/png
 
-USES=		pathfix pkgconfig libtool tar:gz
+USES=		pathfix pkgconfig libtool
 USE_LDCONFIG=	yes
 GNU_CONFIGURE=	yes
 INSTALL_TARGET=	install-strip
@@ -31,6 +32,6 @@
 
 post-patch:
 	@${REINPLACE_CMD} -e 's,libpng12,libpng,' ${WRKSRC}/configure
-	@${REINPLACE_CMD} -e '9s|$$| ${PTHREAD_LIBS}|' ${WRKSRC}/libqrencode.pc.in
+	@${REINPLACE_CMD} -e '9s|$$| -lpthread|' ${WRKSRC}/libqrencode.pc.in
 
 .include <bsd.port.mk>



More information about the Midnightbsd-cvs mailing list