From 76942986834811e5b03cd1f7f28776515d1a2965 Mon Sep 17 00:00:00 2001 From: Nathan Owens Date: Thu, 24 Dec 2020 21:19:17 -0600 Subject: [PATCH] prototype: fix cross-build --- srcpkgs/prototype/template | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/srcpkgs/prototype/template b/srcpkgs/prototype/template index a9f58d57f91..3bcbcfb1ec3 100644 --- a/srcpkgs/prototype/template +++ b/srcpkgs/prototype/template @@ -2,19 +2,19 @@ pkgname=prototype version=1.0.0 revision=1 -makedepends="libpng-devel SDL2_mixer-devel" +makedepends="libpng-devel SDL2_mixer-devel libglvnd-devel" short_desc="RType remake from Dark Castle Software" maintainer="Orphaned " license="Public Domain" homepage="https://github.com/ptitSeb/prototype" distfiles="https://github.com/ptitSeb/prototype/archive/v${version}.tar.gz" checksum=400f8a5c727c9feaa6b48b65c23c312db41dd238af9526659bf3342346c05af6 -nocross=yes CXXFLAGS="-Wno-write-strings" do_build() { - make SDL2=1 LINUX=1 CPP=$CXX ${makejobs} + vsed -i '/$(PROGRAM)/s;$(LIBS);;' Makefile + make SDL2=1 LINUX=1 CPP=$CXX LD=${CXX} LDFLAGS="${LDFLAGS} -lGL -lm" ${makejobs} } do_install() { vmkdir usr/libexec/prototype