mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 01:39:16 -04:00
- Use Gnome's ltverhack to fix the shared library version number
- Add LICENSE - Add a patch to fix a compiler warning PR: ports/155977 Submitted by: Jason E. Hale <bsdkaffee@gmail.com> (maintainer)
This commit is contained in:
parent
51574dd095
commit
f34e69d84b
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=271914
3 changed files with 18 additions and 8 deletions
|
@ -7,6 +7,7 @@
|
|||
|
||||
PORTNAME= libdiscid
|
||||
PORTVERSION= 0.2.2
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= audio
|
||||
MASTER_SITES= http://users.musicbrainz.org/~matt/ \
|
||||
${MASTER_SITE_GENTOO}
|
||||
|
@ -16,13 +17,12 @@ MAINTAINER= bsdkaffee@gmail.com
|
|||
COMMENT= A library for creating MusicBrainz DiscIDs
|
||||
|
||||
GNU_CONFIGURE= yes
|
||||
USE_GNOME= pkgconfig
|
||||
USE_AUTOTOOLS= libtool
|
||||
USE_GNOME= ltverhack gnomehack pkgconfig
|
||||
MAKE_JOBS_SAFE= yes
|
||||
USE_LDCONFIG= yes
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
LICENSE= LGPL21
|
||||
LICENSE_FILE= ${WRKSRC}/COPYING
|
||||
|
||||
pre-configure:
|
||||
@${REINPLACE_CMD} -e 's|\$$(libdir)/pkgconfig|\$$(prefix)/libdata/pkgconfig|' \
|
||||
${WRKSRC}/Makefile.in
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
.include <bsd.port.mk>
|
||||
|
|
10
audio/libdiscid/files/patch-src__disc_freebsd.c
Normal file
10
audio/libdiscid/files/patch-src__disc_freebsd.c
Normal file
|
@ -0,0 +1,10 @@
|
|||
--- ./src/disc_freebsd.c.orig 2011-03-27 08:20:45.000000000 -0400
|
||||
+++ ./src/disc_freebsd.c 2011-03-27 08:21:02.000000000 -0400
|
||||
@@ -33,6 +33,7 @@
|
||||
#include <sys/cdio.h>
|
||||
#include <unistd.h>
|
||||
#include <assert.h>
|
||||
+#include <netinet/in.h>
|
||||
|
||||
|
||||
#include "discid/discid_private.h"
|
|
@ -2,6 +2,6 @@ include/discid/discid.h
|
|||
lib/libdiscid.a
|
||||
lib/libdiscid.la
|
||||
lib/libdiscid.so
|
||||
lib/libdiscid.so.2
|
||||
lib/libdiscid.so.0
|
||||
libdata/pkgconfig/libdiscid.pc
|
||||
@dirrm include/discid
|
||||
|
|
Loading…
Add table
Reference in a new issue