From 1c0b47dae7a400ee42a27d02496a4b7f805aa765 Mon Sep 17 00:00:00 2001 From: Ion-Mihai Tetcu Date: Tue, 6 Jun 2006 18:25:53 +0000 Subject: [PATCH] Fix build on 4.x: - USE_GCC= 3.3+ - USE_GETOPT_LONG --- sysutils/scanbuttond/Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/sysutils/scanbuttond/Makefile b/sysutils/scanbuttond/Makefile index 02dc44f2eb73..0bc25367b41f 100644 --- a/sysutils/scanbuttond/Makefile +++ b/sysutils/scanbuttond/Makefile @@ -16,6 +16,8 @@ COMMENT= A daemon to monitor and configure modern scanner's buttons LIB_DEPENDS= usb-0.1.8:${PORTSDIR}/devel/libusb +USE_GCC= 3.3+ +USE_GETOPT_LONG=yes GNU_CONFIGURE= yes CONFIGURE_ENV= CFLAGS="-I${LOCALBASE}/include" \ LDFLAGS="-L${LOCALBASE}/lib" @@ -27,7 +29,7 @@ SUB_FILES+= pkg-message .include .if ${OSVERSION} < 500000 -BROKEN= does not build +#BROKEN= does not build .endif pre-configure: