pkgsrc-WIP-changes archive

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

xmakemol: fix build.



Module Name:	pkgsrc-wip
Committed By:	Paolo Vincenzo Olivo <vins%NetBSD.org@localhost>
Pushed By:	vms
Date:		Wed Dec 7 08:41:16 2022 +0100
Changeset:	368a2a3c44be0b06b1a6423eb6537d2e50b0dba7

Modified Files:
	xmakemol/Makefile
	xmakemol/distinfo

Log Message:
xmakemol: fix build.

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=368a2a3c44be0b06b1a6423eb6537d2e50b0dba7

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

diffstat:
 xmakemol/Makefile | 16 +++++++++++-----
 xmakemol/distinfo |  2 +-
 2 files changed, 12 insertions(+), 6 deletions(-)

diffs:
diff --git a/xmakemol/Makefile b/xmakemol/Makefile
index 947b612744..bb313b2815 100644
--- a/xmakemol/Makefile
+++ b/xmakemol/Makefile
@@ -1,12 +1,10 @@
-# $NetBSD: Makefile,v 1.3 2012/12/25 18:19:27 noud4 Exp $
-#
+# $NetBSD$
 
 DISTNAME=	xmakemol-5.16
-PKGREVISION=	1
 CATEGORIES=	biology
 MASTER_SITES=	http://savannah.nongnu.org/download/xmakemol/
 
-MAINTAINER=	jihbed.research%gmail.com@localhost
+MAINTAINER=	vins%NetBSD.org@localhost
 HOMEPAGE=	https://www.nongnu.org/xmakemol/
 COMMENT=	Program for visualizing atomic and molecular systems
 LICENSE=	gnu-gpl-v2
@@ -14,6 +12,10 @@ LICENSE=	gnu-gpl-v2
 GNU_CONFIGURE=	yes
 USE_TOOLS+=	gmake perl
 
+CONFIGURE_ARGS+=	--prefix=${PREFIX}
+CONFIGURE_ARGS+=	--x-includes=${X11BASE}/include
+CONFIGURE_ARGS+=	--x-libraries=${X11BASE}/lib
+
 REPLACE_PERL=	xmake_anim.pl
 
 INSTALLATION_DIRS=	share/applications
@@ -26,11 +28,15 @@ post-install:
 		${DESTDIR}${PREFIX}/share/applications/xmakemol.desktop
 
 .include "../../sysutils/desktop-file-utils/desktopdb.mk"
+.include "../../graphics/MesaLib/buildlink3.mk"
+.include "../../graphics/freeglut/buildlink3.mk"
+.include "../../graphics/glw/buildlink3.mk"
+.include "../../graphics/glu/buildlink3.mk"
 .include "../../x11/libX11/buildlink3.mk"
 .include "../../x11/libXt/buildlink3.mk"
 .include "../../x11/libXmu/buildlink3.mk"
 .include "../../x11/libXi/buildlink3.mk"
 .include "../../x11/libXext/buildlink3.mk"
 .include "../../x11/libXpm/buildlink3.mk"
-.include "../../x11/motif/buildlink3.mk"
+.include "../../mk/motif.buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"
diff --git a/xmakemol/distinfo b/xmakemol/distinfo
index 88de6de313..bd79b6aefc 100644
--- a/xmakemol/distinfo
+++ b/xmakemol/distinfo
@@ -1,5 +1,5 @@
 $NetBSD: distinfo,v 1.1.1.1 2011/03/20 23:43:21 jihbed Exp $
 
-RMD160 (xmakemol-5.16.tar.gz) = da4fdbd98bbba7cc8cc40a46a201b10fd2337cb2
+BLAKE2s (xmakemol-5.16.tar.gz) = 46d32e147719a17f934da910b3a074606343682286eeb3b20bd25cafb3b1f74c
 SHA512 (xmakemol-5.16.tar.gz) = e967d992e0c72045022764dee9ec2ffee89f37208a313ff0154351c545cc9466e0c4ce2d07e5568ee693fc48322361c5b4579efc072443445e94f5228988d509
 Size (xmakemol-5.16.tar.gz) = 284962 bytes


Home | Main Index | Thread Index | Old Index