svn commit: r322615 - head/graphics/gphoto2

Alexey Dokuchaev danfe at FreeBSD.org
Wed Jul 10 05:21:51 UTC 2013


Author: danfe
Date: Wed Jul 10 05:21:51 2013
New Revision: 322615
URL: http://svnweb.freebsd.org/changeset/ports/322615

Log:
  - Fix a stupid typo: AALIB_CONFIGURE_s/ARGS/OFF/
  - Remove pthread-related hacks: everything works fine without them

Modified:
  head/graphics/gphoto2/Makefile

Modified: head/graphics/gphoto2/Makefile
==============================================================================
--- head/graphics/gphoto2/Makefile	Wed Jul 10 05:17:43 2013	(r322614)
+++ head/graphics/gphoto2/Makefile	Wed Jul 10 05:21:51 2013	(r322615)
@@ -19,10 +19,6 @@ USE_BZIP2=	yes
 GNU_CONFIGURE=	yes
 CONFIGURE_ARGS=	--without-cdk
 
-# XXX: do we still need to pass PTHREAD_* stuff here?
-CPPFLAGS+=	-I${LOCALBASE}/include ${PTHREAD_CFLAGS}
-LDFLAGS+=	-L${LOCALBASE}/lib ${PTHREAD_LIBS}
-
 MAN1=		${PORTNAME}.1
 
 OPTIONS_DEFINE=	AALIB DOCS NLS
@@ -32,17 +28,13 @@ OPTIONS_SUB=	yes
 AALIB_DESC=	Text mode capture preview support
 
 AALIB_LIB_DEPENDS=	aa:${PORTSDIR}/graphics/aalib
-AALIB_CONFIGURE_ARGS=	--without-aalib
+AALIB_CONFIGURE_OFF=	--without-aalib
 
 NLS_USES=	gettext
 NLS_CONFIGURE_OFF=	--disable-nls
 
 .include <bsd.port.options.mk>
 
-post-patch:
-	@${REINPLACE_CMD} -e 's|-lpthread|${PTHREADS_LIBS:S/"//g}|g ; \
-		s|-g -Wall||g' ${WRKSRC}/configure
-
 post-install:
 .if ${PORT_OPTIONS:MDOCS}
 	${INSTALL_DATA} ${WRKSRC}/NEWS ${DOCSDIR}


More information about the svn-ports-all mailing list