aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/libgphoto2
diff options
context:
space:
mode:
authorpav <pav@FreeBSD.org>2009-03-22 06:30:48 +0800
committerpav <pav@FreeBSD.org>2009-03-22 06:30:48 +0800
commit3090a5a684a4ae41419ddb6b9e7fdf9c0ce3594e (patch)
tree31b04347ed2edd541a7b569d06c33009dc7487d0 /graphics/libgphoto2
parent26f3614844b8290d49e7ddd265c2c4c68fbd0227 (diff)
downloadfreebsd-ports-gnome-3090a5a684a4ae41419ddb6b9e7fdf9c0ce3594e.tar.gz
freebsd-ports-gnome-3090a5a684a4ae41419ddb6b9e7fdf9c0ce3594e.tar.zst
freebsd-ports-gnome-3090a5a684a4ae41419ddb6b9e7fdf9c0ce3594e.zip
- Remove requirement on libusb from pkg-config file on USB2.0 enabled -CURRENT
Requested by: marcus
Diffstat (limited to 'graphics/libgphoto2')
-rw-r--r--graphics/libgphoto2/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/graphics/libgphoto2/Makefile b/graphics/libgphoto2/Makefile
index ad99f291fade..e0dd16cff364 100644
--- a/graphics/libgphoto2/Makefile
+++ b/graphics/libgphoto2/Makefile
@@ -55,5 +55,8 @@ post-patch:
@${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
+.if ${OSVERSION} >= 800064
+ @${REINPLACE_CMD} -e '/Requires/d' ${WRKSRC}/libgphoto2_port/libgphoto2_port.pc.in
+.endif
.include <bsd.port.post.mk>