pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/graphics/xpaint graphics/xpaint: fix building on Linux.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/ef3d4d6df3bf
branches:  trunk
changeset: 391240:ef3d4d6df3bf
user:      vins <vins%pkgsrc.org@localhost>
date:      Fri Jan 06 10:58:07 2023 +0000

description:
graphics/xpaint: fix building on Linux.

diffstat:

 graphics/xpaint/Makefile |  8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)

diffs (20 lines):

diff -r 3a830b4c8dcd -r ef3d4d6df3bf graphics/xpaint/Makefile
--- a/graphics/xpaint/Makefile  Fri Jan 06 10:02:16 2023 +0000
+++ b/graphics/xpaint/Makefile  Fri Jan 06 10:58:07 2023 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.81 2023/01/03 17:37:33 wiz Exp $
+# $NetBSD: Makefile,v 1.82 2023/01/06 10:58:07 vins Exp $
 
 DISTNAME=      xpaint-2.7.8.1
 PKGREVISION=   12
@@ -44,4 +44,10 @@
 .include "../../x11/libXext/buildlink3.mk"
 .include "../../x11/libXpm/buildlink3.mk"
 .include "../../x11/libXaw3d/buildlink3.mk"
+.include "../../mk/bsd.prefs.mk"
+.if ${OPSYS} == "Linux"
+# undefined reference to symbol 'dlclose@@GLIBC_2.2.5'
+.  include "../../mk/dlopen.buildlink3.mk"
+LDFLAGS+=   ${BUILDLINK_LDADD.dl:Q}
+.endif
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index