aboutsummaryrefslogtreecommitdiff
path: root/devel/avrdude
diff options
context:
space:
mode:
Diffstat (limited to 'devel/avrdude')
-rw-r--r--devel/avrdude/Makefile10
1 files changed, 7 insertions, 3 deletions
diff --git a/devel/avrdude/Makefile b/devel/avrdude/Makefile
index 08f4371e5b47..157d24df6af6 100644
--- a/devel/avrdude/Makefile
+++ b/devel/avrdude/Makefile
@@ -15,12 +15,16 @@ MASTER_SITE_SUBDIR= avrdude
MAINTAINER= joerg@FreeBSD.org
COMMENT= Program for programming the on-chip memory of Atmel AVR CPUs
-LIB_DEPENDS= usb-0.1.8:${PORTSDIR}/devel/libusb
-
MAN1= avrdude.1
MANCOMPRESSED= no
GNU_CONFIGURE= yes
CONFIGURE_ENV= CFLAGS=-I${LOCALBASE}/include LDFLAGS=-L${LOCALBASE}/lib
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} < 800069
+LIB_DEPENDS+= usb-0.1.8:${PORTSDIR}/devel/libusb
+.endif
+
+.include <bsd.port.post.mk>