try to prevent automake from running, if present.

even if it runs, ensure the OpenBSD setup will be recognized.
This commit is contained in:
espie 2004-02-10 00:47:57 +00:00
parent c81a56bc77
commit f244adcf90
2 changed files with 28 additions and 1 deletions

View File

@ -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 <bsd.port.mk>

View File

@ -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