pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/audio Fix build on SunOS.
details: https://anonhg.NetBSD.org/pkgsrc/rev/4f04765578d6
branches: trunk
changeset: 597887:4f04765578d6
user: hans <hans%pkgsrc.org@localhost>
date: Wed Jan 11 14:48:59 2012 +0000
description:
Fix build on SunOS.
diffstat:
audio/albumplayer/Makefile | 7 ++++++-
audio/ampache/Makefile | 4 ++--
audio/cddbd/Makefile | 4 +++-
3 files changed, 11 insertions(+), 4 deletions(-)
diffs (57 lines):
diff -r 23e095176856 -r 4f04765578d6 audio/albumplayer/Makefile
--- a/audio/albumplayer/Makefile Wed Jan 11 14:29:36 2012 +0000
+++ b/audio/albumplayer/Makefile Wed Jan 11 14:48:59 2012 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.12 2011/11/01 06:00:33 sbd Exp $
+# $NetBSD: Makefile,v 1.13 2012/01/11 14:48:59 hans Exp $
#
DISTNAME= albumplayer-0.3.1
@@ -20,6 +20,11 @@
PKG_DESTDIR_SUPPORT= user-destdir
INSTALLATION_DIRS+= share/applications
+.include "../../mk/bsd.prefs.mk"
+.if ${OPSYS} == "SunOS"
+BUILDLINK_TRANSFORM+= rm:-export-dynamic
+.endif
+
.include "../../devel/glib2/buildlink3.mk"
.include "../../x11/gtk2/buildlink3.mk"
.include "../../multimedia/gstreamer0.10/buildlink3.mk"
diff -r 23e095176856 -r 4f04765578d6 audio/ampache/Makefile
--- a/audio/ampache/Makefile Wed Jan 11 14:29:36 2012 +0000
+++ b/audio/ampache/Makefile Wed Jan 11 14:48:59 2012 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.5 2011/09/16 05:46:22 obache Exp $
+# $NetBSD: Makefile,v 1.6 2012/01/11 14:50:44 hans Exp $
#
DISTNAME= ampache-3.5.3
@@ -48,7 +48,7 @@
${INSTALL_DATA} ${WRKSRC}/ampache.conf ${DESTDIR}${EGDIR}/ampache.conf
set -e; cd ${WRKSRC} && pax -rw -pe . ${DESTDIR}${INSTDIR}
${RM} -f ${DESTDIR}${INSTDIR}/ampache.conf
- ${FIND} ${DESTDIR}${INSTDIR} -name '*.orig' | ${XARGS} ${RM}
+ ${FIND} ${DESTDIR}${INSTDIR} -name '*.orig' | ${XARGS} ${RM} -f
.include "../../mk/apache.mk"
.include "../../lang/php/phpversion.mk"
diff -r 23e095176856 -r 4f04765578d6 audio/cddbd/Makefile
--- a/audio/cddbd/Makefile Wed Jan 11 14:29:36 2012 +0000
+++ b/audio/cddbd/Makefile Wed Jan 11 14:48:59 2012 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.15 2011/08/28 22:30:17 dholland Exp $
+# $NetBSD: Makefile,v 1.16 2012/01/11 14:52:19 hans Exp $
#
DISTNAME= cddbd-1.3.1
@@ -21,6 +21,8 @@
INSTALLATION_DIRS+= bin
+LDFLAGS.SunOS+= -lsocket -lnsl
+
do-configure:
cd ${WRKSRC} && \
${SETENV} BASEDIR=${PREFIX}/share ${SH} config.sh
Home |
Main Index |
Thread Index |
Old Index