diff options
author | John Marino <marino@FreeBSD.org> | 2014-02-05 21:22:12 +0000 |
---|---|---|
committer | John Marino <marino@FreeBSD.org> | 2014-02-05 21:22:12 +0000 |
commit | 11714c775e530157d7a43f288e1a27d3f5608135 (patch) | |
tree | e4b62947cd2eb4023d121c06f6505544e5427c3d /graphics/libgphoto2 | |
parent | e3a4a20a7623eaa0c1dcee4dbec87d372301b53d (diff) | |
download | freebsd-ports-11714c775e530157d7a43f288e1a27d3f5608135.zip |
graphics/libgphoto2: Reduce inclusions, qualify OSVERSION
Diffstat (limited to 'graphics/libgphoto2')
-rw-r--r-- | graphics/libgphoto2/Makefile | 5 |
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> |