diff options
author | jseger <jseger@FreeBSD.org> | 1998-10-16 08:55:28 +0800 |
---|---|---|
committer | jseger <jseger@FreeBSD.org> | 1998-10-16 08:55:28 +0800 |
commit | 204fcac961d2fa0c1b60fc444d4b99678ad35549 (patch) | |
tree | d93376eb480f67ad6493eab8b46c0822ec12c0a9 /net/sharity-light | |
parent | 90210f164ca70328e930d6315053db288cdb615f (diff) | |
download | freebsd-ports-gnome-204fcac961d2fa0c1b60fc444d4b99678ad35549.tar.gz freebsd-ports-gnome-204fcac961d2fa0c1b60fc444d4b99678ad35549.tar.zst freebsd-ports-gnome-204fcac961d2fa0c1b60fc444d4b99678ad35549.zip |
Unbreak for current.
Submitted by: dima
Diffstat (limited to 'net/sharity-light')
-rw-r--r-- | net/sharity-light/Makefile | 7 | ||||
-rw-r--r-- | net/sharity-light/files/unshlight.c | 4 |
2 files changed, 5 insertions, 6 deletions
diff --git a/net/sharity-light/Makefile b/net/sharity-light/Makefile index 3bc547ca39b5..fdc8787ef1e9 100644 --- a/net/sharity-light/Makefile +++ b/net/sharity-light/Makefile @@ -3,7 +3,7 @@ # Date created: 14 June 1997 # Whom: Dmitrij Tejblum <dima@tejblum.dnttm.rssi.ru> # -# $Id: Makefile,v 1.6 1998/07/07 19:17:15 dt Exp $ +# $Id: Makefile,v 1.7 1998/10/14 00:26:49 jseger Exp $ # DISTNAME= Sharity-Light.1.0.s @@ -15,11 +15,6 @@ MASTER_SITES= ftp://ftp.obdev.at/pub/Products/Sharity-Light/ \ MAINTAINER= dt@FreeBSD.ORG -OSVERSION!= sysctl -n kern.osreldate -.if ${OSVERSION} >= 300000 -BROKEN= MOUNT_NFS undeclared -.endif - MAN8= smbmount.8 post-extract: diff --git a/net/sharity-light/files/unshlight.c b/net/sharity-light/files/unshlight.c index e167b3611687..b8502060d05a 100644 --- a/net/sharity-light/files/unshlight.c +++ b/net/sharity-light/files/unshlight.c @@ -50,7 +50,11 @@ 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 (strcmp(mntbuf[i].f_fstypename, "nfs") != 0) continue; +#else if (mntbuf[i].f_type != MOUNT_NFS) continue; +#endif if (strncmp(mntbuf[i].f_mntfromname, "shlight-", 8) != 0) continue; pid=strtoul(mntbuf[i].f_mntfromname+8, &s, 10); if (*s) continue; |