don't pull in libelf on SunOS, to fix build problems (PR pkg/46478)

This is a poor fix for an apparently not well understood problem, so
we should consider it a stopgap fix and find a sustainable solution
after the freeze.
This commit is contained in:
drochner 2012-06-26 18:21:24 +00:00
parent e5ac85abf2
commit 6b81fa6836

View file

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.205 2012/05/22 20:40:07 jmmv Exp $
# $NetBSD: Makefile,v 1.206 2012/06/26 18:21:24 drochner Exp $
.include "Makefile.common"
.include "options.mk"
@ -44,7 +44,7 @@ BUILDLINK_API_DEPENDS.zlib+= zlib>=1.2.2.1
LIBS.SunOS+= -lnsl -lsocket
CPPFLAGS.SunOS+= -DBSD_COMP
.if ${OBJECT_FMT} == "ELF"
.if ${OBJECT_FMT} == "ELF" && ${OPSYS} != "SunOS"
.include "../../devel/libelf/buildlink3.mk"
.endif