diff options
author | Martin Wilke <miwi@FreeBSD.org> | 2011-02-05 03:19:10 +0000 |
---|---|---|
committer | Martin Wilke <miwi@FreeBSD.org> | 2011-02-05 03:19:10 +0000 |
commit | 3ba0c8634ad80b8e2ccb5471e89a32dcab22f4e1 (patch) | |
tree | d8618ebdbea75de0bcbc581dc5b94c5081ceadb0 /net-mgmt/noc/files/patch-scripts_sync-contrib | |
parent | 535e3d15ab1e423e70a6ec3f29a433d5808ff913 (diff) | |
download | ports-3ba0c8634ad80b8e2ccb5471e89a32dcab22f4e1.tar.gz ports-3ba0c8634ad80b8e2ccb5471e89a32dcab22f4e1.zip |
Notes
Diffstat (limited to 'net-mgmt/noc/files/patch-scripts_sync-contrib')
-rw-r--r-- | net-mgmt/noc/files/patch-scripts_sync-contrib | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/net-mgmt/noc/files/patch-scripts_sync-contrib b/net-mgmt/noc/files/patch-scripts_sync-contrib new file mode 100644 index 000000000000..c34ec9edacfc --- /dev/null +++ b/net-mgmt/noc/files/patch-scripts_sync-contrib @@ -0,0 +1,13 @@ +--- scripts/sync-contrib.orig 2011-01-31 16:18:59.000000000 +0600 ++++ scripts/sync-contrib 2011-01-31 16:23:13.000000000 +0600 +@@ -107,6 +107,10 @@ class Installer(object): + return self.install("protobuf") + + if __name__=="__main__": ++ # Always return 0 on FreeBSD ++ if os.uname()[0] == 'FreeBSD': ++ sys.exit(0); ++ + check_only=False + optlist,optargs=getopt.getopt(sys.argv[1:],"c") + for k,v in optlist: |