diff options
| author | Pav Lucistnik <pav@FreeBSD.org> | 2005-08-06 22:17:04 +0000 |
|---|---|---|
| committer | Pav Lucistnik <pav@FreeBSD.org> | 2005-08-06 22:17:04 +0000 |
| commit | 5983d1b71c1786136fcbd1fb6599be9f02bd4939 (patch) | |
| tree | d7bd33696bdf0b5d37b1c1c7d5c7f167a8ab4083 /net/pynids/files/patch-setup.py | |
| parent | - Unbreak on 5.X and above: (diff) | |
- Unbreak on amd64: sneak template config.* files into bundled tarball
of libnids
- Unbreak on ia64: add -fPIC for shared library
Approved by: portmgr (marcus)
Diffstat (limited to 'net/pynids/files/patch-setup.py')
| -rw-r--r-- | net/pynids/files/patch-setup.py | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/net/pynids/files/patch-setup.py b/net/pynids/files/patch-setup.py new file mode 100644 index 000000000000..e8db653b4cce --- /dev/null +++ b/net/pynids/files/patch-setup.py @@ -0,0 +1,20 @@ +--- setup.py.orig Tue Feb 1 06:50:11 2005 ++++ setup.py Sun Aug 7 00:08:43 2005 +@@ -9,7 +9,7 @@ + from distutils.core import setup, Extension + from distutils.command.build import build # nidsMaker + from distutils.spawn import spawn # nidsMaker.run() +-import os, os.path ++import os, os.path, shutil + + pathjoin = os.path.join + +@@ -38,6 +38,8 @@ + pass + + spawn(['tar', '-xf', self.NIDSTAR], search_path = 1) ++ shutil.copyfile("config.guess",pathjoin(self.NIDSDIR,"config.guess")) ++ shutil.copyfile("config.sub",pathjoin(self.NIDSDIR,"config.sub")) + os.chdir(self.NIDSDIR) + for p in self.patches: + spawn(['patch', '-c', '-p1', '-i', pathjoin('..', p)], search_path = 1) |
