ports/158858: [PATCH] audio/mt-daapd: portlint complains

Takefu takefu at airport.fm
Wed Jul 13 06:00:23 UTC 2011


>Number:         158858
>Category:       ports
>Synopsis:       [PATCH] audio/mt-daapd: portlint complains
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Wed Jul 13 06:00:22 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator:     Takefu
>Release:        FreeBSD 6.4-STABLE i386
>Organization:
FOX Amateur Radio Club
>Environment:
>Description:
- portlint complains
- add LICENSE_FILE

Port maintainer (mark at foster.cc) is cc'd.
>How-To-Repeat:
>Fix:
--- mt-daapd.patch begins here ---
diff -ruN /usr/ports/audio/mt-daapd/Makefile audio/mt-daapd/Makefile
--- /usr/ports/audio/mt-daapd/Makefile	2011-06-14 11:27:57.000000000 +0900
+++ audio/mt-daapd/Makefile	2011-07-13 13:56:03.000000000 +0900
@@ -8,25 +8,24 @@
 PORTNAME=	mt-daapd
 PORTVERSION=	0.2.4.2
 PORTREVISION=	2
-CATEGORIES=	audio japanese
+CATEGORIES=	japanese audio
 MASTER_SITES=	SF

 MAINTAINER=	mark at foster.cc
 COMMENT=	Multithread daapd yet another Server for Apple iTunes

+LICENSE=	GPLv2
+LICENSE_FILE=	${WRKSRC}/COPYING
+
 DEPRECATED=	Use audio/firefly instead

-LIB_DEPENDS=	gdbm.3:${PORTSDIR}/databases/gdbm \
+LIB_DEPENDS+=	gdbm.3:${PORTSDIR}/databases/gdbm \
 		id3tag.0:${PORTSDIR}/audio/libid3tag

 CONFLICTS=	firefly-[0-9]*

 GNU_CONFIGURE=	yes
-CONFIGURE_ENV=	CFLAGS+="${PTHREAD_CFLAGS}" \
-		CPPFLAGS="${CPPFLAGS} -I${LOCALBASE}/include" \
-		LDFLAGS="-L${LOCALBASE}/lib" \
-		LIBS="-L${LOCALBASE}/lib ${PTHREAD_LIBS}"
-CONFIGURE_ARGS=	--with-id3tag=${PREFIX} \
+CONFIGURE_ARGS=	--with-id3tag=${LOCALBASE} \
 		--with-gdbm-includes=${LOCALBASE}/include

 USE_ICONV=	yes
@@ -76,7 +75,7 @@
 	@${CHOWN} ${DAAPD_USER}:${DAAPD_GROUP} ${DATADIR}
 	@${ECHO_MSG}
 	@${ECHO_MSG} "This port installs a sample configuration file in"
-	@${ECHO_MSG} "${LOCALBASE}/etc/mt-daapd.conf.sample"
+	@${ECHO_MSG} "${PREFIX}/etc/mt-daapd.conf.sample"
 	@${ECHO_MSG} "You probably should move/copy this file to mt-daapd.conf"
 	@${ECHO_MSG} "and customize to fit your needs."
 	@${ECHO_MSG}

--- mt-daapd.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list