diff options
author | Tijl Coosemans <tijl@FreeBSD.org> | 2013-10-26 09:58:00 +0000 |
---|---|---|
committer | Tijl Coosemans <tijl@FreeBSD.org> | 2013-10-26 09:58:00 +0000 |
commit | fd0149e5374cbff24c763d6661ab2c6d35d26029 (patch) | |
tree | 7031885d2886da71f9051bfe2ccc24182c3f5554 /graphics/libgphoto2/Makefile | |
parent | d98b70d9f54a749f6ed83913ae90c5519c1b0ad7 (diff) |
Notes
Diffstat (limited to 'graphics/libgphoto2/Makefile')
-rw-r--r-- | graphics/libgphoto2/Makefile | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/graphics/libgphoto2/Makefile b/graphics/libgphoto2/Makefile index 2ca623c88bab..765fbea9b454 100644 --- a/graphics/libgphoto2/Makefile +++ b/graphics/libgphoto2/Makefile @@ -3,7 +3,7 @@ PORTNAME= libgphoto2 PORTVERSION= 2.4.14 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= graphics MASTER_SITES= SF/gphoto/libgphoto/${PORTVERSION} @@ -23,17 +23,14 @@ LIBTOOLFILES= configure libgphoto2_port/configure USE_LDCONFIG= yes CONFIGURE_ENV= LTDLINCL="-I${LOCALBASE}/include" \ LIBLTDL="-L${LOCALBASE}/lib -lltdl" +CFLAGS+= -DENODATA=9999 # Safe because it's never used PLIST_SUB= VERSION="${PORTVERSION}" VERSION_PORT=0.8.0 .include <bsd.port.options.mk> .if ${OSVERSION} < 1000040 -CONFIGURE_ENV+= LIBUSB_CFLAGS="-I/usr/include" \ - LIBUSB_LIBS="-lusb" -.else -# Safe because it's never used -CFLAGS+= -DENODATA=0 +CONFIGURE_ENV+= LIBUSB1_CFLAGS=" " LIBUSB1_LIBS="-lusb" .endif .if ${PORT_OPTIONS:MNLS} @@ -66,8 +63,6 @@ post-patch: @${REINPLACE_CMD} -e \ 's|@HAVE_DOXYGEN_TRUE@|#| ; s|@HAVE_DOXYGEN_FALSE@||' \ ${WRKSRC}/doc/Makefile.in - @${REINPLACE_CMD} -e '/Requires/d' \ - ${WRKSRC}/libgphoto2_port/libgphoto2_port.pc.in @${REINPLACE_CMD} 's|with_hal=yes|with_hal=no|' \ ${WRKSRC}/libgphoto2_port/configure |