Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 15 Aug 2013 12:24:10 +0000 (UTC)
From:      Alexey Dokuchaev <danfe@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r324769 - head/misc/libsupertone
Message-ID:  <201308151224.r7FCOABI015756@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: danfe
Date: Thu Aug 15 12:24:09 2013
New Revision: 324769
URL: http://svnweb.freebsd.org/changeset/ports/324769

Log:
  - Fix targets' dependencies in an attempt to fix parallel (-jX) builds
  - Tighten Makefile header and COMMENT line (trim the article)
  - Convert LIB_DEPENDS to the newish form (since r322328)
  - Fix couple of portlint(1) warnings while here (knobs order, WWW line
    in port description)
  
  Reported by:	marino
  Approved by:	miwi, bapt (portmgr, implicit)

Modified:
  head/misc/libsupertone/Makefile
  head/misc/libsupertone/pkg-descr

Modified: head/misc/libsupertone/Makefile
==============================================================================
--- head/misc/libsupertone/Makefile	Thu Aug 15 12:03:21 2013	(r324768)
+++ head/misc/libsupertone/Makefile	Thu Aug 15 12:24:09 2013	(r324769)
@@ -1,9 +1,5 @@
-# New ports collection makefile for:	libsupertone
-# Date created:				26 Jun 2012
-# Whom:					Max Khon <fjoe@FreeBSD.org>
-#
+# Created by: Max Khon <fjoe@FreeBSD.org>
 # $FreeBSD$
-#
 
 PORTNAME=	libsupertone
 PORTVERSION=	0.0.2
@@ -12,17 +8,24 @@ MASTER_SITES=	http://www.soft-switch.org
 EXTRACT_SUFX=	.tgz
 
 MAINTAINER=	fjoe@FreeBSD.org
-COMMENT=	A library for supervisory tone generation and detection
+COMMENT=	Library for supervisory tone generation and detection
 
-LIB_DEPENDS=	audiofile.0:${PORTSDIR}/audio/libaudiofile\
-		spandsp.2:${PORTSDIR}/comms/spandsp-devel\
-		tiff.4:${PORTSDIR}/graphics/tiff\
-		xml2.5:${PORTSDIR}/textproc/libxml2
+LICENSE=	LGPL21
+
+LIB_DEPENDS=	libaudiofile.so:${PORTSDIR}/audio/libaudiofile \
+		libspandsp.so:${PORTSDIR}/comms/spandsp-devel \
+		libtiff.so:${PORTSDIR}/graphics/tiff \
+		libxml2.so:${PORTSDIR}/textproc/libxml2
 
 GNU_CONFIGURE=	yes
-CONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include"\
-		LDFLAGS="-L${LOCALBASE}/lib"
 USE_LDCONFIG=	yes
-LICENSE=	LGPL21
+
+CPPFLAGS+=	-I${LOCALBASE}/include
+LDFLAGS+=	-L${LOCALBASE}/lib
+
+# Add missing dependency in attempt to fix parallel (-jX) builds
+post-patch:
+	@${REINPLACE_CMD} -e '/DEPENDENCIES =/s,$$, $$(lib_LTLIBRARIES),' \
+		${WRKSRC}/Makefile.in
 
 .include <bsd.port.mk>

Modified: head/misc/libsupertone/pkg-descr
==============================================================================
--- head/misc/libsupertone/pkg-descr	Thu Aug 15 12:03:21 2013	(r324768)
+++ head/misc/libsupertone/pkg-descr	Thu Aug 15 12:24:09 2013	(r324769)
@@ -1,4 +1,4 @@
 This library is designed to support supervisory tone generation and detection
 for all parts of the world.
 
-WWW:	http://www.soft-switch.org/
+WWW: http://www.soft-switch.org/



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