diff --git a/srcpkgs/gxemul/patches/patch-src_include_refcount__ptr.h.patch b/srcpkgs/gxemul/patches/patch-src_include_refcount__ptr.h.patch new file mode 100644 index 0000000000..909536ffa5 --- /dev/null +++ b/srcpkgs/gxemul/patches/patch-src_include_refcount__ptr.h.patch @@ -0,0 +1,13 @@ +$NetBSD: patch-src_include_refcount__ptr.h,v 1.1 2012/11/23 22:43:09 alnsn Exp $ + +--- src/include/refcount_ptr.h.orig 2010-02-14 09:33:54.000000000 +0000 ++++ src/include/refcount_ptr.h +@@ -28,6 +28,8 @@ + * SUCH DAMAGE. + */ + ++#include ++ + /** + * \brief Base class for reference countable objects. + * diff --git a/srcpkgs/gxemul/template b/srcpkgs/gxemul/template new file mode 100644 index 0000000000..78912f2b7e --- /dev/null +++ b/srcpkgs/gxemul/template @@ -0,0 +1,22 @@ +# Template file for 'gxemul' +pkgname=gxemul +version=0.6.0 +revision=1 +makedepends="libX11-devel" +short_desc="Framework for full-system computer architecture emulation" +maintainer="Juan RP " +license="BSD" +homepage="http://gxemul.sourceforge.net" +distfiles="http://gxemul.sourceforge.net/src/gxemul-${version}.tar.gz" +checksum=d3f85c7964b44b085e088862d88b1f31d907fb99c5321900c0b3a723c82581e8 + +do_configure() { + PREFIX=/usr ./configure + sed -i 's,$(PREFIX)/man,$(PREFIX)/share/man,g' Makefile +} +do_build() { + make CXX=$CXX CC=$CC ${makejobs} +} +do_install() { + make PREFIX=${DESTDIR}/usr install +}