svn commit: r342859 - head/graphics/libgphoto2

John Marino marino at FreeBSD.org
Wed Feb 5 21:22:13 UTC 2014


Author: marino
Date: Wed Feb  5 21:22:12 2014
New Revision: 342859
URL: http://svnweb.freebsd.org/changeset/ports/342859
QAT: https://qat.redports.org/buildarchive/r342859/

Log:
  graphics/libgphoto2: Reduce inclusions, qualify OSVERSION

Modified:
  head/graphics/libgphoto2/Makefile

Modified: head/graphics/libgphoto2/Makefile
==============================================================================
--- head/graphics/libgphoto2/Makefile	Wed Feb  5 21:18:20 2014	(r342858)
+++ head/graphics/libgphoto2/Makefile	Wed Feb  5 21:22:12 2014	(r342859)
@@ -48,9 +48,8 @@ XML_LDFLAGS=		$$(pkg-config --libs-only-
 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>


More information about the svn-ports-all mailing list