pkgsrc-Changes archive

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

CVS commit: pkgsrc/graphics/xpaint



Module Name:    pkgsrc
Committed By:   vins
Date:           Fri Jan  6 10:58:07 UTC 2023

Modified Files:
        pkgsrc/graphics/xpaint: Makefile

Log Message:
graphics/xpaint: fix building on Linux.


To generate a diff of this commit:
cvs rdiff -u -r1.81 -r1.82 pkgsrc/graphics/xpaint/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/graphics/xpaint/Makefile
diff -u pkgsrc/graphics/xpaint/Makefile:1.81 pkgsrc/graphics/xpaint/Makefile:1.82
--- pkgsrc/graphics/xpaint/Makefile:1.81        Tue Jan  3 17:37:33 2023
+++ pkgsrc/graphics/xpaint/Makefile     Fri Jan  6 10:58:07 2023
@@ -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 @@ pre-configure:
 .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