ports/181850: [maintainer update] for audio/hydrogen
Shane Ambler
FreeBSD at Shaneware.biz
Thu Sep 5 20:40:01 UTC 2013
>Number: 181850
>Category: ports
>Synopsis: [maintainer update] for audio/hydrogen
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: maintainer-update
>Submitter-Id: current-users
>Arrival-Date: Thu Sep 05 20:40:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator: Shane Ambler
>Release: 9.1-RELEASE
>Organization:
>Environment:
FreeBSD leader.local 9.1-RELEASE-p3 FreeBSD 9.1-RELEASE-p3 #0 r250752: Sat May 18 08:03:42 CST 2013 root at leader.local:/usr/obj/usr/src/sys/dtracekern amd64
>Description:
Fix build after pkgconfig changes.
Includes update for new LIB_DEPENDS syntax change.
>How-To-Repeat:
>Fix:
Patch attached with submission follows:
diff -Nru hydrogen.orig/Makefile hydrogen/Makefile
--- hydrogen.orig/Makefile 2013-09-06 05:49:33.057989347 +0930
+++ hydrogen/Makefile 2013-09-06 05:47:02.144988300 +0930
@@ -12,13 +12,15 @@
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING
-LIB_DEPENDS+= sndfile:${PORTSDIR}/audio/libsndfile \
- tar:${PORTSDIR}/devel/libtar \
- lrdf:${PORTSDIR}/textproc/liblrdf
+
+LIB_DEPENDS+= libsndfile.so:${PORTSDIR}/audio/libsndfile \
+ libtar.so:${PORTSDIR}/devel/libtar \
+ liblrdf.so:${PORTSDIR}/textproc/liblrdf
MAJORVERSION= 0.9.5
USE_QT4= corelib gui linguist_build moc_build network qt3support rcc_build sql uic_build xml
USE_SCONS= yes
+USES= pkgconfig
OPTIONS_DEFINE= JACK ALSA PORTAUDIO LIBARCHIVE LASH
OPTIONS_DEFAULT= JACK
@@ -33,7 +36,7 @@
SCONS_ENV+= oss=1
.if ${PORT_OPTIONS:MJACK}
-LIB_DEPENDS+= jack:${PORTSDIR}/audio/jack
+LIB_DEPENDS+= libjack.so:${PORTSDIR}/audio/jack
CPPFLAGS+= ${PTHREAD_CFLAGS}
LDFLAGS+= ${PTHREAD_LIBS}
SCONS_ENV+= jack=1
@@ -42,21 +45,21 @@
.endif
.if ${PORT_OPTIONS:MPORTAUDIO}
-LIB_DEPENDS+= portaudio:${PORTSDIR}/audio/portaudio
+LIB_DEPENDS+= libportaudio.so:${PORTSDIR}/audio/portaudio
SCONS_ENV+= portaudio=1
.else
SCONS_ENV+= portaudio=0
.endif
.if ${PORT_OPTIONS:MLIBARCHIVE}
-LIB_DEPENDS+= archive:${PORTSDIR}/archivers/libarchive
+LIB_DEPENDS+= libarchive.so:${PORTSDIR}/archivers/libarchive
SCONS_ENV+= libarchive=1
.else
SCONS_ENV+= libarchive=0
.endif
.if ${PORT_OPTIONS:MALSA}
-LIB_DEPENDS+= asound:${PORTSDIR}/audio/alsa-lib
+LIB_DEPENDS+= libasound.so:${PORTSDIR}/audio/alsa-lib
RUN_DEPENDS+= ${LOCALBASE}/lib/alsa-lib/libasound_module_pcm_oss.so:${PORTSDIR}/audio/alsa-plugins
SCONS_ENV+= alsa=1
.else
@@ -64,7 +67,7 @@
.endif
.if ${PORT_OPTIONS:MLASH}
-LIB_DEPENDS+= lash:${PORTSDIR}/audio/lash
+LIB_DEPENDS+= liblash.so:${PORTSDIR}/audio/lash
SCONS_ENV+= lash=1
.else
SCONS_ENV+= lash=0
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list