Fix build on 4.x:

- USE_GCC=	3.3+
- USE_GETOPT_LONG
This commit is contained in:
Ion-Mihai Tetcu 2006-06-06 18:25:53 +00:00
parent 79861d5a2e
commit 1c0b47dae7
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=164632

View file

@ -16,6 +16,8 @@ COMMENT= A daemon to monitor and configure modern scanner's buttons
LIB_DEPENDS= usb-0.1.8:${PORTSDIR}/devel/libusb LIB_DEPENDS= usb-0.1.8:${PORTSDIR}/devel/libusb
USE_GCC= 3.3+
USE_GETOPT_LONG=yes
GNU_CONFIGURE= yes GNU_CONFIGURE= yes
CONFIGURE_ENV= CFLAGS="-I${LOCALBASE}/include" \ CONFIGURE_ENV= CFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib" LDFLAGS="-L${LOCALBASE}/lib"
@ -27,7 +29,7 @@ SUB_FILES+= pkg-message
.include <bsd.port.pre.mk> .include <bsd.port.pre.mk>
.if ${OSVERSION} < 500000 .if ${OSVERSION} < 500000
BROKEN= does not build #BROKEN= does not build
.endif .endif
pre-configure: pre-configure: