Apply removal of -export-dynamic for SunOS across all of pkgsrc.
Avoids lots of copy/paste and fixes a bunch of packages which hadn't been looked at yet.
This commit is contained in:
parent
1279289a9b
commit
e8ba95d3b6
9 changed files with 14 additions and 46 deletions
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile,v 1.28 2013/06/06 12:54:01 wiz Exp $
|
||||
# $NetBSD: Makefile,v 1.29 2013/07/05 15:10:00 jperkin Exp $
|
||||
#
|
||||
|
||||
DISTNAME= albumplayer-0.3.1
|
||||
|
@ -19,11 +19,6 @@ USE_TOOLS+= pkg-config
|
|||
INSTALLATION_DIRS+= share/applications
|
||||
REPLACE_SH= ap_flac_embed
|
||||
|
||||
.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"
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile,v 1.45 2013/07/05 13:29:28 ryoon Exp $
|
||||
# $NetBSD: Makefile,v 1.46 2013/07/05 15:10:00 jperkin Exp $
|
||||
#
|
||||
|
||||
DISTNAME= audacious-plugins-1.5.1
|
||||
|
@ -55,7 +55,6 @@ PLIST.oss= yes
|
|||
.elif ${OPSYS} == "DragonFly"
|
||||
PLIST.oss= yes
|
||||
.elif ${OPSYS} == "SunOS"
|
||||
BUILDLINK_TRANSFORM+= rm:-Wl,-export-dynamic
|
||||
CPPFLAGS.SunOS= -D__EXTENSIONS__ -D__uint32_t=uint32_t -D__uint64_t=uint64_t
|
||||
CONFIGURE_ARGS+= --enable-oss4
|
||||
PLIST.oss4= yes
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile,v 1.33 2013/06/06 12:54:03 wiz Exp $
|
||||
# $NetBSD: Makefile,v 1.34 2013/07/05 15:10:00 jperkin Exp $
|
||||
#
|
||||
|
||||
DISTNAME= glurp-0.12.3
|
||||
|
@ -16,11 +16,6 @@ USE_TOOLS+= intltool pkg-config
|
|||
|
||||
LIBS.SunOS+= -lsocket -lnsl
|
||||
|
||||
.include "../../mk/bsd.prefs.mk"
|
||||
.if ${OPSYS} == "SunOS"
|
||||
BUILDLINK_TRANSFORM+= rm:-export-dynamic
|
||||
.endif
|
||||
|
||||
.include "../../audio/libmpd/buildlink3.mk"
|
||||
.include "../../devel/glib2/buildlink3.mk"
|
||||
.include "../../devel/libglade/buildlink3.mk"
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile,v 1.14 2013/02/17 10:14:11 wiz Exp $
|
||||
# $NetBSD: Makefile,v 1.15 2013/07/05 15:10:00 jperkin Exp $
|
||||
|
||||
DISTNAME= moc-2.5.0-beta1
|
||||
PKGNAME= ${DISTNAME:S/-beta/b/:moc%=moc-devel%}
|
||||
|
@ -35,11 +35,6 @@ SUBST_MESSAGE.oss= Fixing hardcoded audio device.
|
|||
post-extract:
|
||||
${CP} ${FILESDIR}/getline.c ${WRKSRC}
|
||||
|
||||
.include "../../mk/bsd.prefs.mk"
|
||||
.if ${OPSYS} == "SunOS"
|
||||
BUILDLINK_TRANSFORM+= rm:-Wl,--export-dynamic
|
||||
.endif
|
||||
|
||||
LIBS.SunOS+= -lsocket
|
||||
|
||||
BUILDLINK_TRANSFORM+= l:db:db4
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile,v 1.22 2013/06/16 13:00:59 ryoon Exp $
|
||||
# $NetBSD: Makefile,v 1.23 2013/07/05 15:10:00 jperkin Exp $
|
||||
|
||||
DISTNAME= moc-2.4.4
|
||||
CATEGORIES= audio
|
||||
|
@ -35,11 +35,6 @@ SUBST_MESSAGE.oss= Fixing hardcoded audio device.
|
|||
#pre-configure:
|
||||
# cd ${WRKSRC} && autoreconf -v -i
|
||||
|
||||
.include "../../mk/bsd.prefs.mk"
|
||||
.if ${OPSYS} == "SunOS"
|
||||
BUILDLINK_TRANSFORM+= rm:-Wl,--export-dynamic
|
||||
.endif
|
||||
|
||||
LIBS.SunOS+= -lsocket
|
||||
|
||||
.include "../../audio/libid3tag/buildlink3.mk"
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile,v 1.9 2012/10/08 13:25:13 asau Exp $
|
||||
# $NetBSD: Makefile,v 1.10 2013/07/05 15:10:00 jperkin Exp $
|
||||
#
|
||||
|
||||
DISTNAME= gplcver-2.12a.src
|
||||
|
@ -18,11 +18,6 @@ BUILDLINK_LIBS.dl= ${BUILDLINK_LDADD.dl}
|
|||
|
||||
INSTALLATION_DIRS= bin lib/gplcver/pli_incs
|
||||
|
||||
.include "../../mk/bsd.prefs.mk"
|
||||
.if ${OPSYS} == "SunOS"
|
||||
BUILDLINK_TRANSFORM+= rm:-export-dynamic
|
||||
.endif
|
||||
|
||||
.include "../../mk/dlopen.buildlink3.mk"
|
||||
|
||||
do-install:
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile,v 1.36 2013/06/06 12:54:09 wiz Exp $
|
||||
# $NetBSD: Makefile,v 1.37 2013/07/05 15:10:00 jperkin Exp $
|
||||
|
||||
VERSION= 1.2.1
|
||||
PKGREVISION= 30
|
||||
|
@ -30,11 +30,6 @@ do-install:
|
|||
|
||||
DEPENDS+= ImageMagick-[0-9]*:../../graphics/ImageMagick
|
||||
|
||||
.include "../../mk/bsd.prefs.mk"
|
||||
.if ${OPSYS} == "SunOS"
|
||||
BUILDLINK_TRANSFORM+= rm:-Wl,--export-dynamic
|
||||
.endif
|
||||
|
||||
.include "../../chat/pidgin/buildlink3.mk"
|
||||
.include "../../devel/glib2/buildlink3.mk"
|
||||
.include "../../x11/gtk2/buildlink3.mk"
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: SunOS.mk,v 1.51 2013/05/16 17:09:07 jperkin Exp $
|
||||
# $NetBSD: SunOS.mk,v 1.52 2013/07/05 15:10:00 jperkin Exp $
|
||||
#
|
||||
# Variable definitions for the SunOS/Solaris operating system.
|
||||
|
||||
|
@ -67,6 +67,10 @@ _USE_RPATH= yes # add rpath to LDFLAGS
|
|||
_OPSYS_WHOLE_ARCHIVE_FLAG= -z allextract
|
||||
_OPSYS_NO_WHOLE_ARCHIVE_FLAG= -z defaultextract
|
||||
|
||||
# Remove flags specific to GNU ld.
|
||||
BUILDLINK_TRANSFORM+= rm:-Wl,--export-dynamic
|
||||
BUILDLINK_TRANSFORM+= rm:-export-dynamic
|
||||
|
||||
# Solaris has /usr/include/iconv.h, but it's not GNU iconv, so mark it
|
||||
# incompatible.
|
||||
_INCOMPAT_ICONV= SunOS-*-*
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile,v 1.41 2013/07/05 13:29:43 ryoon Exp $
|
||||
# $NetBSD: Makefile,v 1.42 2013/07/05 15:10:00 jperkin Exp $
|
||||
#
|
||||
|
||||
DISTNAME= awesome-3.4.13
|
||||
|
@ -47,12 +47,7 @@ BUILD_DEPENDS+= asciidoc>=8.3.0:../../textproc/asciidoc
|
|||
BUILD_DEPENDS+= xmlto-[0-9]*:../../textproc/xmlto
|
||||
BUILD_DEPENDS+= docbook-xml-[0-9]*:../../textproc/docbook-xml
|
||||
|
||||
.include "../../mk/bsd.prefs.mk"
|
||||
|
||||
.if ${OPSYS} == "SunOS"
|
||||
LDFLAGS+= -liconv
|
||||
BUILDLINK_TRANSFORM+= rm:-export-dynamic
|
||||
.endif
|
||||
LDFLAGS.SunOS+= -liconv
|
||||
|
||||
.include "../../converters/libiconv/buildlink3.mk"
|
||||
.include "../../devel/gperf/buildlink3.mk"
|
||||
|
|
Loading…
Reference in a new issue