aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordanfe <danfe@FreeBSD.org>2013-07-10 13:21:51 +0800
committerdanfe <danfe@FreeBSD.org>2013-07-10 13:21:51 +0800
commit054ab4675ddb57f5b8999cea7497aa88edd25bf7 (patch)
tree400800ad25ed27de6e844f9982b724f3aaf0999b
parent6b1ce9bedf55bb6e35117c6fdc3bd05ecf2c159d (diff)
downloadfreebsd-ports-gnome-054ab4675ddb57f5b8999cea7497aa88edd25bf7.tar.gz
freebsd-ports-gnome-054ab4675ddb57f5b8999cea7497aa88edd25bf7.tar.zst
freebsd-ports-gnome-054ab4675ddb57f5b8999cea7497aa88edd25bf7.zip
- Fix a stupid typo: AALIB_CONFIGURE_s/ARGS/OFF/
- Remove pthread-related hacks: everything works fine without them
-rw-r--r--graphics/gphoto2/Makefile10
1 files changed, 1 insertions, 9 deletions
diff --git a/graphics/gphoto2/Makefile b/graphics/gphoto2/Makefile
index 6fea07c9c9ee..77e2ca1b9da6 100644
--- a/graphics/gphoto2/Makefile
+++ b/graphics/gphoto2/Makefile
@@ -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}