aboutsummaryrefslogtreecommitdiff
path: root/audio/libcddb
diff options
context:
space:
mode:
authorTijl Coosemans <tijl@FreeBSD.org>2014-03-20 15:35:34 +0000
committerTijl Coosemans <tijl@FreeBSD.org>2014-03-20 15:35:34 +0000
commit5ec77b4e269e4c941f14348e60202078b20fef75 (patch)
tree830354a465188f3970f53a54582f6c6175b4857e /audio/libcddb
parent0ef672b091a95ba0f5c0f15a77f191d15f0b4483 (diff)
downloadports-5ec77b4e269e4c941f14348e60202078b20fef75.tar.gz
ports-5ec77b4e269e4c941f14348e60202078b20fef75.zip
- Add patches to fix include guards (found by Clang).
- Modernise port Makefile a bit.
Notes
Notes: svn path=/head/; revision=348703
Diffstat (limited to 'audio/libcddb')
-rw-r--r--audio/libcddb/Makefile9
-rw-r--r--audio/libcddb/files/patch-include-cddb-cddb_log.h11
-rw-r--r--audio/libcddb/files/patch-include-cddb-cddb_log_ni.h11
3 files changed, 26 insertions, 5 deletions
diff --git a/audio/libcddb/Makefile b/audio/libcddb/Makefile
index 820220d24fe8..ed9e534c315b 100644
--- a/audio/libcddb/Makefile
+++ b/audio/libcddb/Makefile
@@ -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>
diff --git a/audio/libcddb/files/patch-include-cddb-cddb_log.h b/audio/libcddb/files/patch-include-cddb-cddb_log.h
new file mode 100644
index 000000000000..0eea941fdb07
--- /dev/null
+++ b/audio/libcddb/files/patch-include-cddb-cddb_log.h
@@ -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
diff --git a/audio/libcddb/files/patch-include-cddb-cddb_log_ni.h b/audio/libcddb/files/patch-include-cddb-cddb_log_ni.h
new file mode 100644
index 000000000000..f18bd7191b81
--- /dev/null
+++ b/audio/libcddb/files/patch-include-cddb-cddb_log_ni.h
@@ -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