diff options
author | Stanislav Sedov <stas@FreeBSD.org> | 2009-03-09 17:15:43 +0000 |
---|---|---|
committer | Stanislav Sedov <stas@FreeBSD.org> | 2009-03-09 17:15:43 +0000 |
commit | f5d05ea54d1f80ecd08c5809a3ce5e1594e34eaa (patch) | |
tree | 343e91600b9cf81ffb94bf71017b43a88bfcbf45 /sysutils/scanbuttond | |
parent | e9e0ba8df0a817712eab81d4a962e79cae35dca1 (diff) |
Notes
Diffstat (limited to 'sysutils/scanbuttond')
-rw-r--r-- | sysutils/scanbuttond/Makefile | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/sysutils/scanbuttond/Makefile b/sysutils/scanbuttond/Makefile index 8e773c233eac..960785bf580e 100644 --- a/sysutils/scanbuttond/Makefile +++ b/sysutils/scanbuttond/Makefile @@ -14,8 +14,6 @@ MASTER_SITE_SUBDIR= ${PORTNAME} MAINTAINER= dthiele@gmx.net COMMENT= A daemon to monitor and configure modern scanner's buttons -LIB_DEPENDS= usb-0.1.8:${PORTSDIR}/devel/libusb - GNU_CONFIGURE= yes CONFIGURE_ENV= CFLAGS="-I${LOCALBASE}/include" \ LDFLAGS="-L${LOCALBASE}/lib" @@ -23,10 +21,16 @@ USE_LDCONFIG= yes SUB_FILES+= pkg-message +.include <bsd.port.pre.mk> + +.if ${OSVERSION} < 800069 +LIB_DEPENDS+= usb-0.1.8:${PORTSDIR}/devel/libusb +.endif + pre-configure: @${FIND} ${WRKSRC} -name Makefile.in | ${XARGS} \ ${REINPLACE_CMD} -e 's|-ldl||g' post-install: @${CAT} ${PKGMESSAGE} -.include <bsd.port.mk> +.include <bsd.port.post.mk> |