diff options
| author | Tijl Coosemans <tijl@FreeBSD.org> | 2014-08-11 13:59:47 +0000 |
|---|---|---|
| committer | Tijl Coosemans <tijl@FreeBSD.org> | 2014-08-11 13:59:47 +0000 |
| commit | 49108186e8717109f9bc3dba3a46a4beed6a77bf (patch) | |
| tree | 2015e43bc8319ab8afc24049da6744399385736d /comms/lirc/Makefile | |
| parent | 2355fc72994bc0fd7169c263304460a979189e00 (diff) | |
Notes
Diffstat (limited to 'comms/lirc/Makefile')
| -rw-r--r-- | comms/lirc/Makefile | 27 |
1 files changed, 14 insertions, 13 deletions
diff --git a/comms/lirc/Makefile b/comms/lirc/Makefile index 7cc6381240d1..6e5d9b4d535c 100644 --- a/comms/lirc/Makefile +++ b/comms/lirc/Makefile @@ -3,7 +3,7 @@ PORTNAME= lirc PORTVERSION= 0.9.0 -PORTREVISION= 5 +PORTREVISION= 6 PORTEPOCH= 1 CATEGORIES= comms MASTER_SITES= SF/${PORTNAME}/LIRC/${PORTVERSION} @@ -14,19 +14,19 @@ COMMENT= Linux Infrared Remote Control BUILD_DEPENDS= v4l_compat>=1.0.20110603:${PORTSDIR}/multimedia/v4l_compat -USE_AUTOTOOLS= libtool automake autoheader aclocal autoconf -USES= gmake tar:bzip2 -ACLOCAL_ARGS= -I "${ACLOCAL_DIR}" -I ${LOCALBASE}/share/aclocal +INSTALL_TARGET= install-strip +USES= gmake libtool tar:bzip2 +USE_AUTOTOOLS= libtoolize automake autoheader aclocal autoconf +AUTOMAKE_ARGS= -a -c -f USE_XORG= sm x11 USE_PYTHON= yes USE_CSTD= gnu89 -GNU_CONFIGURE= yes USE_LDCONFIG= yes -CONFIGURE_ARGS= --enable-sandboxed --with-devdir=/var/run/lirc \ - --sysconfdir=${PREFIX}/etc -CPPFLAGS+= -I${LOCALBASE}/include -LDFLAGS+= -L${LOCALBASE}/lib +CONFIGURE_ARGS= --enable-sandboxed --with-devdir=/var/run/lirc \ + --sysconfdir=${PREFIX}/etc +CPPFLAGS+= -I${LOCALBASE}/include +LIBS+= -L${LOCALBASE}/lib OPTIONS_DEFINE= MINIMAL DEBUG UARTLIRC DOCS EXAMPLES @@ -63,10 +63,11 @@ CONFIGURE_ARGS+= --enable-debug RUN_DEPENDS+= uartlirc>=0.3:${PORTSDIR}/comms/uartlirc .endif -# XXX: work around an issue with automake-1.13 erroring out on a -# non-existent m4 directory before libtoolize creates it -pre-configure:: - @${MKDIR} ${WRKSRC}/m4 +post-patch: + @${REINPLACE_CMD} \ + -e 's/`$${LIBUSB_CONFIG} --libs`/-lusb/' \ + -e 's/`$${LIBUSB_CONFIG} --cflags`//' \ + ${WRKSRC}/configure.ac post-install: .if ${PORT_OPTIONS:MDOCS} |
