aboutsummaryrefslogtreecommitdiff
path: root/devel/avrdude
diff options
context:
space:
mode:
authorStanislav Sedov <stas@FreeBSD.org>2009-03-09 17:15:43 +0000
committerStanislav Sedov <stas@FreeBSD.org>2009-03-09 17:15:43 +0000
commitf5d05ea54d1f80ecd08c5809a3ce5e1594e34eaa (patch)
tree343e91600b9cf81ffb94bf71017b43a88bfcbf45 /devel/avrdude
parente9e0ba8df0a817712eab81d4a962e79cae35dca1 (diff)
downloadports-f5d05ea54d1f80ecd08c5809a3ce5e1594e34eaa.tar.gz
ports-f5d05ea54d1f80ecd08c5809a3ce5e1594e34eaa.zip
Notes
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>