From 05e3896ef5d758d67899a35261ead362b4290076 Mon Sep 17 00:00:00 2001 From: hans Date: Wed, 11 Jan 2012 14:48:59 +0000 Subject: Fix build on SunOS. --- audio/albumplayer/Makefile | 7 ++++++- audio/ampache/Makefile | 4 ++-- audio/cddbd/Makefile | 4 +++- 3 files changed, 11 insertions(+), 4 deletions(-) diff --git a/audio/albumplayer/Makefile b/audio/albumplayer/Makefile index 0f3ff0f7493..d4a43818739 100644 --- a/audio/albumplayer/Makefile +++ b/audio/albumplayer/Makefile @@ -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 @@ USE_DIRS+= xdg-1.1 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 --git a/audio/ampache/Makefile b/audio/ampache/Makefile index 972604703ad..8646ac38301 100644 --- a/audio/ampache/Makefile +++ b/audio/ampache/Makefile @@ -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 @@ do-install: ${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 --git a/audio/cddbd/Makefile b/audio/cddbd/Makefile index 47a5f26ddb2..19de3efd0b4 100644 --- a/audio/cddbd/Makefile +++ b/audio/cddbd/Makefile @@ -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 @@ MAKE_FILE= makefile INSTALLATION_DIRS+= bin +LDFLAGS.SunOS+= -lsocket -lnsl + do-configure: cd ${WRKSRC} && \ ${SETENV} BASEDIR=${PREFIX}/share ${SH} config.sh -- cgit v1.2.3