aboutsummaryrefslogtreecommitdiff
path: root/graphics/libgphoto2
diff options
context:
space:
mode:
authorJohn Marino <marino@FreeBSD.org>2014-02-05 21:22:12 +0000
committerJohn Marino <marino@FreeBSD.org>2014-02-05 21:22:12 +0000
commit11714c775e530157d7a43f288e1a27d3f5608135 (patch)
treee4b62947cd2eb4023d121c06f6505544e5427c3d /graphics/libgphoto2
parente3a4a20a7623eaa0c1dcee4dbec87d372301b53d (diff)
downloadports-11714c775e530157d7a43f288e1a27d3f5608135.tar.gz
ports-11714c775e530157d7a43f288e1a27d3f5608135.zip
graphics/libgphoto2: Reduce inclusions, qualify OSVERSION
Notes
Notes: svn path=/head/; revision=342859
Diffstat (limited to 'graphics/libgphoto2')
-rw-r--r--graphics/libgphoto2/Makefile5
1 files changed, 2 insertions, 3 deletions
diff --git a/graphics/libgphoto2/Makefile b/graphics/libgphoto2/Makefile
index 9a078c54b2ad..d91865886f3d 100644
--- a/graphics/libgphoto2/Makefile
+++ b/graphics/libgphoto2/Makefile
@@ -48,9 +48,8 @@ XML_LDFLAGS= $$(pkg-config --libs-only-L libxml-2.0)
XML_CONFIGURE_WITH= libxml2
.include <bsd.port.options.mk>
-.include <bsd.port.pre.mk>
-.if ${OSVERSION} < 1000040
+.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1000040
CONFIGURE_ENV+= LIBUSB1_CFLAGS=" " LIBUSB1_LIBS="-lusb"
.endif
@@ -72,4 +71,4 @@ post-patch:
'/^SUBDIRS/s|linux-hotplug||' \
${WRKSRC}/packaging/Makefile.in
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>