aboutsummaryrefslogtreecommitdiff
path: root/astro/fowsr/Makefile
diff options
context:
space:
mode:
authorAlexander Leidinger <netchild@FreeBSD.org>2010-09-03 08:27:26 +0000
committerAlexander Leidinger <netchild@FreeBSD.org>2010-09-03 08:27:26 +0000
commita0cab894f92a566ce784cdd2320f95c601dd490c (patch)
tree113ebe4f8f7e2fc0f5f50cfbb9ee2124202ca1bb /astro/fowsr/Makefile
parentc1a9c9f0d4b8ee8ba81d301de1f8dd32a45345bf (diff)
Fix the port on systems where libusb does not come with the basesystem.
No portrevision bump, no change for the packages where this was building successfully on pointyhat.
Notes
Notes: svn path=/head/; revision=260468
Diffstat (limited to 'astro/fowsr/Makefile')
-rw-r--r--astro/fowsr/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/astro/fowsr/Makefile b/astro/fowsr/Makefile
index ae3e62d55d55..042e6229f823 100644
--- a/astro/fowsr/Makefile
+++ b/astro/fowsr/Makefile
@@ -34,4 +34,10 @@ post-patch:
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/fowsr ${PREFIX}/bin/
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} < 800069
+LIB_DEPENDS+= usb:${PORTSDIR}/devel/libusb
+.endif
+
+.include <bsd.port.post.mk>