Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 5 Feb 2014 21:22:12 +0000 (UTC)
From:      John Marino <marino@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r342859 - head/graphics/libgphoto2
Message-ID:  <201402052122.s15LMCA7051538@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201402052122.s15LMCA7051538>