Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 20 Mar 2014 15:35:34 +0000 (UTC)
From:      Tijl Coosemans <tijl@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r348703 - in head/audio/libcddb: . files
Message-ID:  <201403201535.s2KFZYpl089694@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: tijl
Date: Thu Mar 20 15:35:34 2014
New Revision: 348703
URL: http://svnweb.freebsd.org/changeset/ports/348703
QAT: https://qat.redports.org/buildarchive/r348703/

Log:
  - Add patches to fix include guards (found by Clang).
  - Modernise port Makefile a bit.

Added:
  head/audio/libcddb/files/
  head/audio/libcddb/files/patch-include-cddb-cddb_log.h   (contents, props changed)
  head/audio/libcddb/files/patch-include-cddb-cddb_log_ni.h   (contents, props changed)
Modified:
  head/audio/libcddb/Makefile

Modified: head/audio/libcddb/Makefile
==============================================================================
--- head/audio/libcddb/Makefile	Thu Mar 20 15:31:54 2014	(r348702)
+++ head/audio/libcddb/Makefile	Thu Mar 20 15:35:34 2014	(r348703)
@@ -3,19 +3,18 @@
 
 PORTNAME=	libcddb
 PORTVERSION=	1.3.2
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	audio
 MASTER_SITES=	SF
 
 MAINTAINER=	multimedia@FreeBSD.org
-COMMENT=	A library to access data on a CDDB server
+COMMENT=	Library to access data on a CDDB server
 
-USE_BZIP2=	yes
 GNU_CONFIGURE=	yes
-USES=	pathfix pkgconfig iconv
+USES=		iconv libtool:oldver pathfix tar:bzip2
 USE_LDCONFIG=	yes
 CONFIGURE_ARGS=	--without-cdio
-CPPFLAGS+=	-DICONV_CONST="const" -I${LOCALBASE}/include
+CPPFLAGS+=	-I${LOCALBASE}/include
 LDFLAGS+=	-L${LOCALBASE}/lib
 
 .include <bsd.port.mk>

Added: head/audio/libcddb/files/patch-include-cddb-cddb_log.h
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/audio/libcddb/files/patch-include-cddb-cddb_log.h	Thu Mar 20 15:35:34 2014	(r348703)
@@ -0,0 +1,11 @@
+--- include/cddb/cddb_log.h.orig	2005-03-11 22:29:29.000000000 +0100
++++ include/cddb/cddb_log.h	2014-03-20 16:00:15.000000000 +0100
+@@ -19,7 +19,7 @@
+     Boston, MA  02111-1307, USA.
+ */
+ 
+-#ifndef CDDB_LOH_H
++#ifndef CDDB_LOG_H
+ #define CDDB_LOG_H
+ 
+ #ifdef __cplusplus

Added: head/audio/libcddb/files/patch-include-cddb-cddb_log_ni.h
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/audio/libcddb/files/patch-include-cddb-cddb_log_ni.h	Thu Mar 20 15:35:34 2014	(r348703)
@@ -0,0 +1,11 @@
+--- include/cddb/cddb_log_ni.h.orig	2005-03-11 22:29:29.000000000 +0100
++++ include/cddb/cddb_log_ni.h	2014-03-20 16:00:24.000000000 +0100
+@@ -19,7 +19,7 @@
+     Boston, MA  02111-1307, USA.
+ */
+ 
+-#ifndef CDDB_LOH_NI_H
++#ifndef CDDB_LOG_NI_H
+ #define CDDB_LOG_NI_H
+ 
+ #ifdef __cplusplus



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