diff --git a/net/sharity-light/Makefile b/net/sharity-light/Makefile index 609078e57e9..4cac9f0addb 100644 --- a/net/sharity-light/Makefile +++ b/net/sharity-light/Makefile @@ -3,12 +3,10 @@ # Date created: 14 June 1997 # Whom: Dmitrij Tejblum # -# $OpenBSD: Makefile,v 1.3 1999/11/03 01:19:24 turan Exp $ +# $OpenBSD: Makefile,v 1.4 2000/01/03 17:57:32 angelos Exp $ # $FreeBSD: Makefile,v 1.10 1999/01/06 17:11:23 dt Exp $ # -BROKEN= unshlight.c:56: structure has no member named f_type - DISTNAME= Sharity-Light.1.2 PKGNAME= sharity-light-1.2 CATEGORIES= net diff --git a/net/sharity-light/files/unshlight.c b/net/sharity-light/files/unshlight.c index b8502060d05..8480ebdd3b4 100644 --- a/net/sharity-light/files/unshlight.c +++ b/net/sharity-light/files/unshlight.c @@ -50,7 +50,7 @@ main(int argc, char** argv) char* s; int error; if (argc > 0 && strcmp(abspath, mntbuf[i].f_mntonname) != 0) continue; -#if defined(__FreeBSD_version) && __FreeBSD_version > 300000 +#if (defined(__FreeBSD_version) && __FreeBSD_version > 300000) || defined(__OpenBSD__) if (strcmp(mntbuf[i].f_fstypename, "nfs") != 0) continue; #else if (mntbuf[i].f_type != MOUNT_NFS) continue;