pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
xmakemol: fix linking for MesaLib.
Module Name: pkgsrc-wip
Committed By: Paolo Vincenzo Olivo <vms%retrobsd.ddns.net@localhost>
Pushed By: vms
Date: Wed Dec 21 09:30:11 2022 +0100
Changeset: ae053baaf5e10cb6149ee7403aafef7d04a70e2b
Modified Files:
xmakemol/Makefile
Log Message:
xmakemol: fix linking for MesaLib.
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=ae053baaf5e10cb6149ee7403aafef7d04a70e2b
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
xmakemol/Makefile | 6 ++++++
1 file changed, 6 insertions(+)
diffs:
diff --git a/xmakemol/Makefile b/xmakemol/Makefile
index 8e2fdf5c36..9aa14dcc79 100644
--- a/xmakemol/Makefile
+++ b/xmakemol/Makefile
@@ -18,6 +18,12 @@ REPLACE_PERL= xmake_anim.pl
ELEM_FILE= ${WRKSRC}/elements
+CONFIGURE_ARGS+= --with-mesa
+CONFIGURE_ARGS+= --with-opengl=${BUILDLINK_PREFIX.MesaLib}
+
+BUILDLINK_TRANSFORM+= l:MesaGL:GL
+BUILDLINK_TRANSFORM+= l:MesaGLU:GLU
+
MAKE_FLAGS+= CC=${CC:Q}
MAKE_FLAGS+= CFLAGS='${CFLAGS} -DELEMENTS=\"${ELEM_FILE}\"'
MAKE_FLAGS+= CPPLAGS=${CPPLAGS:Q}
Home |
Main Index |
Thread Index |
Old Index