pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/glib2 Only depend on "libelf" on platforms that ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/92691cd92ff6
branches:  trunk
changeset: 603233:92691cd92ff6
user:      tron <tron%pkgsrc.org@localhost>
date:      Tue May 01 07:05:59 2012 +0000

description:
Only depend on "libelf" on platforms that actually use ELF as their
binary format. Bump package revision because of this dependence change.

diffstat:

 devel/glib2/Makefile |  8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)

diffs (29 lines):

diff -r 20d97d706212 -r 92691cd92ff6 devel/glib2/Makefile
--- a/devel/glib2/Makefile      Tue May 01 06:51:21 2012 +0000
+++ b/devel/glib2/Makefile      Tue May 01 07:05:59 2012 +0000
@@ -1,8 +1,9 @@
-# $NetBSD: Makefile,v 1.199 2012/04/30 13:53:48 drochner Exp $
+# $NetBSD: Makefile,v 1.200 2012/05/01 07:05:59 tron Exp $
 
 .include "Makefile.common"
 .include "options.mk"
 
+PKGREVISION=           1
 CATEGORIES=            devel
 
 COMMENT=               Some useful routines for C programming (glib2)
@@ -45,10 +46,13 @@
 
 LIBS.SunOS+=   -lnsl -lsocket
 
+.if ${OBJECT_FMT} == "ELF"
+.include "../../devel/libelf/buildlink3.mk"
+.endif
+
 .include "../../converters/libiconv/buildlink3.mk"
 .include "../../devel/gettext-lib/buildlink3.mk"
 .include "../../devel/pcre/buildlink3.mk"
 .include "../../devel/zlib/buildlink3.mk"
 .include "../../devel/libffi/buildlink3.mk"
-.include "../../devel/libelf/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index