aboutsummaryrefslogtreecommitdiffstats
path: root/graphics
diff options
context:
space:
mode:
Diffstat (limited to 'graphics')
-rw-r--r--graphics/libgphoto2/Makefile6
-rw-r--r--graphics/libgphoto2/distinfo6
2 files changed, 6 insertions, 6 deletions
diff --git a/graphics/libgphoto2/Makefile b/graphics/libgphoto2/Makefile
index 330796d9766d..51b66ef9eb15 100644
--- a/graphics/libgphoto2/Makefile
+++ b/graphics/libgphoto2/Makefile
@@ -6,8 +6,7 @@
#
PORTNAME= libgphoto2
-PORTVERSION= 2.4.6
-PORTREVISION= 1
+PORTVERSION= 2.4.7
CATEGORIES= graphics
MASTER_SITES= SF/gphoto/libgphoto/${PORTVERSION}
@@ -51,7 +50,8 @@ post-patch:
.for file in configure libgphoto2_port/configure
@${REINPLACE_CMD} -e \
's|{libdir}/pkgconfig|{prefix}/libdata/pkgconfig|g ; \
- s|-g -O2||g' ${WRKSRC}/${file}
+ s|-g -O2||g ; \
+ /grep -i linux/s|; fi ; then|; else false; fi ; then|' ${WRKSRC}/${file}
.endfor
@${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
diff --git a/graphics/libgphoto2/distinfo b/graphics/libgphoto2/distinfo
index 1f11f255a6b5..6e0e2121e2e4 100644
--- a/graphics/libgphoto2/distinfo
+++ b/graphics/libgphoto2/distinfo
@@ -1,3 +1,3 @@
-MD5 (libgphoto2-2.4.6.tar.bz2) = f55c95b676023368317e1e867397e62c
-SHA256 (libgphoto2-2.4.6.tar.bz2) = cbfad37afb6a65f93ce16fbe1e8a1201ef3586c614deca5cc51afc8011245606
-SIZE (libgphoto2-2.4.6.tar.bz2) = 5268340
+MD5 (libgphoto2-2.4.7.tar.bz2) = 3c1f1b1e56214e83b97e2bc7aadba4c5
+SHA256 (libgphoto2-2.4.7.tar.bz2) = 9e7613f21ac3dd7cf1decbab5c47c1e9a16d39c32062d7f8632adb4fc8d0271f
+SIZE (libgphoto2-2.4.7.tar.bz2) = 5279581