diff --git a/srcpkgs/prboom-plus/template b/srcpkgs/prboom-plus/template index 8b8c71c9199..b492e41874e 100644 --- a/srcpkgs/prboom-plus/template +++ b/srcpkgs/prboom-plus/template @@ -14,6 +14,8 @@ homepage="http://prboom-plus.sourceforge.net/" distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz" checksum=e0e2241d174839b107f1a42b191aa9895dc6749e477cbc850ad520fba2353b94 +CFLAGS="-fcommon" + pre_configure() { sed -i 's|^gamesdir = $(prefix)/games|gamesdir = ${bindir}|g' src/Makefile.in sed -i 's|@PACKAGE@-@VERSION@|prboom-plus|g' Makefile.in