aboutsummaryrefslogtreecommitdiff
path: root/graphics/gphoto2/Makefile
diff options
context:
space:
mode:
authorAlexey Dokuchaev <danfe@FreeBSD.org>2013-07-10 05:21:51 +0000
committerAlexey Dokuchaev <danfe@FreeBSD.org>2013-07-10 05:21:51 +0000
commitcbc8ab009e9c14e0997df182aea54d6aea4a77d2 (patch)
tree400800ad25ed27de6e844f9982b724f3aaf0999b /graphics/gphoto2/Makefile
parent0aac94ee8095aae55bc8662badd236508322a992 (diff)
downloadports-cbc8ab009e9c14e0997df182aea54d6aea4a77d2.tar.gz
ports-cbc8ab009e9c14e0997df182aea54d6aea4a77d2.zip
Notes
Diffstat (limited to 'graphics/gphoto2/Makefile')
-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}