diff --git a/devel/libgtop2/Makefile b/devel/libgtop2/Makefile index 7a4eb911325..6c812c22204 100644 --- a/devel/libgtop2/Makefile +++ b/devel/libgtop2/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.6 2003/12/01 04:08:56 marcm Exp $ +# $OpenBSD: Makefile,v 1.7 2004/02/10 00:47:57 espie Exp $ COMMENT= "portable library for obtaining system information" @@ -38,4 +38,8 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ post-extract: @mv ${WRKDIR}/${SYSDEPS} ${WRKSRC}/sysdeps/openbsd +post-configure: + @touch ${WRKSRC}/Makefile.in + @touch ${WRKBUILD}/Makefile + .include diff --git a/devel/libgtop2/patches/patch-libgtop-sysdeps_m4 b/devel/libgtop2/patches/patch-libgtop-sysdeps_m4 new file mode 100644 index 00000000000..ae8c655c9fb --- /dev/null +++ b/devel/libgtop2/patches/patch-libgtop-sysdeps_m4 @@ -0,0 +1,23 @@ +$OpenBSD: patch-libgtop-sysdeps_m4,v 1.1 2004/02/10 00:47:57 espie Exp $ +--- libgtop-sysdeps.m4.orig 2004-02-10 01:38:26.000000000 +0100 ++++ libgtop-sysdeps.m4 2004-02-10 01:39:18.000000000 +0100 +@@ -121,12 +121,18 @@ AC_DEFUN([GNOME_LIBGTOP_SYSDEPS],[ + fi + libgtop_need_server=no + ;; +- freebsd*|netbsd*|openbsd*|bsdi*) ++ freebsd*|netbsd*|bsdi*) + libgtop_sysdeps_dir=freebsd + libgtop_use_machine_h=yes + libgtop_need_server=yes + libgtop_postinstall='chgrp kmem $(bindir)/libgtop_server && chmod 2755 $(bindir)/libgtop_server' + ;; ++ openbsd*) ++ libgtop_sysdeps_dir=openbsd ++ libgtop_use_machine_h=yes ++ libgtop_need_server=yes ++ libgtop_postinstall='chgrp kmem $(DESTDIR)$(bindir)/libgtop_server && chmod 2755 $(DESTDIR)$(bindir)/libgtop_server2' ++ ;; + solaris*) + libgtop_sysdeps_dir=solaris + libgtop_use_machine_h=yes