Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 25 Apr 2014 00:41:42 +0000 (UTC)
From:      Sean Bruno <sbruno@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r352081 - head/audio/shout-idjc
Message-ID:  <201404250041.s3P0fgvV029216@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sbruno (src committer)
Date: Fri Apr 25 00:41:41 2014
New Revision: 352081
URL: http://svnweb.freebsd.org/changeset/ports/352081
QAT: https://qat.redports.org/buildarchive/r352081/

Log:
  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@

Modified:
  head/audio/shout-idjc/Makefile
  head/audio/shout-idjc/pkg-plist

Modified: head/audio/shout-idjc/Makefile
==============================================================================
--- head/audio/shout-idjc/Makefile	Thu Apr 24 23:43:22 2014	(r352080)
+++ head/audio/shout-idjc/Makefile	Fri Apr 25 00:41:41 2014	(r352081)
@@ -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
 		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>

Modified: head/audio/shout-idjc/pkg-plist
==============================================================================
--- head/audio/shout-idjc/pkg-plist	Thu Apr 24 23:43:22 2014	(r352080)
+++ head/audio/shout-idjc/pkg-plist	Fri Apr 25 00:41:41 2014	(r352081)
@@ -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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201404250041.s3P0fgvV029216>