1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-21 00:25:50 +00:00

Apply patch from tijl@ to resolve a lot of issues with the port:

- HAS_CONFIGURE -> GNU_CONFIGURE
 - USES=libtool.
 - DOCS option.
 - Remove GCC requirement. (In audio/idjc it is replaced with USES=compiler:nestedfct)

Submitted by:	tilj@
This commit is contained in:
Sean Bruno 2014-04-25 00:41:41 +00:00
parent 89698f2fbe
commit c5a3654546
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=352081
2 changed files with 14 additions and 21 deletions

View File

@ -3,7 +3,7 @@
PORTNAME= libshout-idjc
PORTVERSION= 2.3.1
PORTREVISION= 1
PORTREVISION= 2
CATEGORIES= audio python
MASTER_SITES= SF/idjc/libshout-idjc/
DISTNAME= ${PORTNAME}-${PORTVERSION}
@ -18,21 +18,15 @@ LIB_DEPENDS= libsamplerate.so:${PORTSDIR}/audio/libsamplerate \
libogg.so:${PORTSDIR}/audio/libogg \
libspeex.so:${PORTSDIR}/audio/speex
HAS_CONFIGURE= yes
USES= pkgconfig pathfix
GNU_CONFIGURE= yes
USES= libtool pathfix pkgconfig
USE_LDCONFIG= yes
MAKE_JOBS_UNSAFE= no
OPTIONS_DEFINE= DOCS
.include <bsd.port.pre.mk>
MAKE_JOBS_UNSAFE= yes
.if ${OSVERSION} < 900000
BROKEN= audio/shout-idjc IPv6 problem on compile in sock.c
.endif
post-patch:
@${REINPLACE_CMD} '/_XOPEN_SOURCE/d' ${WRKSRC}/configure
# 10 and higer seem to be fine
.if ${OSVERSION} < 1000000
USE_GCC= 4.6+
.endif
.include <bsd.port.post.mk>
.include <bsd.port.mk>

View File

@ -1,12 +1,11 @@
include/shoutidjc/shout.h
lib/libshout-idjc.a
lib/libshout-idjc.la
lib/libshout-idjc.so
lib/libshout-idjc.so.5
lib/libshout-idjc.so.3
lib/libshout-idjc.so.3.2.0
libdata/pkgconfig/shout-idjc.pc
%%DOCSDIR%%/COPYING
%%DOCSDIR%%/NEWS
%%DOCSDIR%%/README
@dirrmtry %%DOCSDIR%%
@dirrmtry libdata/pkgconfig
%%PORTDOCS%%%%DOCSDIR%%/COPYING
%%PORTDOCS%%%%DOCSDIR%%/NEWS
%%PORTDOCS%%%%DOCSDIR%%/README
%%PORTDOCS%%@dirrmtry %%DOCSDIR%%
@dirrmtry include/shoutidjc