aboutsummaryrefslogtreecommitdiff
path: root/graphics/libgphoto2
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2011-09-09 19:55:18 +0000
committerPav Lucistnik <pav@FreeBSD.org>2011-09-09 19:55:18 +0000
commita789e3bed253a75df53a22464b18c478cc89374e (patch)
tree0bee1a5e1e5dd6775a88c737f6fa5846ce8ff3ad /graphics/libgphoto2
parent7e46f6989fe32f18b147496bf5118b2ecb01d083 (diff)
downloadports-a789e3bed253a75df53a22464b18c478cc89374e.tar.gz
ports-a789e3bed253a75df53a22464b18c478cc89374e.zip
Notes
Diffstat (limited to 'graphics/libgphoto2')
-rw-r--r--graphics/libgphoto2/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/graphics/libgphoto2/Makefile b/graphics/libgphoto2/Makefile
index 175fc708125c..7196247791d9 100644
--- a/graphics/libgphoto2/Makefile
+++ b/graphics/libgphoto2/Makefile
@@ -7,6 +7,7 @@
PORTNAME= libgphoto2
PORTVERSION= 2.4.11
+PORTREVISION= 1
CATEGORIES= graphics
MASTER_SITES= SF/gphoto/libgphoto/${PORTVERSION}
@@ -54,6 +55,9 @@ post-patch:
s|-g -O2||g ; \
/grep -i linux/s|; fi ; then|; else false; fi ; then|' ${WRKSRC}/${file}
.endfor
+.if !defined(WITHOUT_NLS)
+ @${REINPLACE_CMD} -e 's|(LDFLAGS) -o|(LDFLAGS) -lintl -o|' ${WRKSRC}/libgphoto2_port/libgphoto2_port/Makefile.in
+.endif
@${REINPLACE_CMD} -e '/test.*udevscriptdir/d ; s| "$$(DESTDIR)$$(udevscriptdir)"||' ${WRKSRC}/libgphoto2_port/usb/Makefile.in ${WRKSRC}/packaging/generic/Makefile.in
@${REINPLACE_CMD} -e 's|linux-hotplug ||' ${WRKSRC}/packaging/Makefile.in
@${REINPLACE_CMD} -e 's|@HAVE_DOXYGEN_TRUE@|#| ; s|@HAVE_DOXYGEN_FALSE@||' ${WRKSRC}/doc/Makefile.in