diff options
Diffstat (limited to 'databases/py-PyGreSQL/files/patch-src::interfaces::python::GNUmakefile')
-rw-r--r-- | databases/py-PyGreSQL/files/patch-src::interfaces::python::GNUmakefile | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/databases/py-PyGreSQL/files/patch-src::interfaces::python::GNUmakefile b/databases/py-PyGreSQL/files/patch-src::interfaces::python::GNUmakefile new file mode 100644 index 000000000000..6b74261b7c1f --- /dev/null +++ b/databases/py-PyGreSQL/files/patch-src::interfaces::python::GNUmakefile @@ -0,0 +1,28 @@ +--- src/interfaces/python/GNUmakefile.orig Thu Dec 13 20:39:04 2001 ++++ src/interfaces/python/GNUmakefile Wed Oct 23 15:52:18 2002 +@@ -34,9 +34,9 @@ + echo "*** become the appropriate user, and do '$(MAKE) install'."; } + + install: all installdirs +- @if test -w $(DESTDIR)$(python_moduleexecdir) && test -w $(DESTDIR)$(python_moduledir); then \ +- echo "$(INSTALL_SHLIB) $(shlib) $(DESTDIR)$(python_moduleexecdir)/_pgmodule$(DLSUFFIX)"; \ +- $(INSTALL_SHLIB) $(shlib) $(DESTDIR)$(python_moduleexecdir)/_pgmodule$(DLSUFFIX); \ ++ @if test -w $(DESTDIR)$(python_moduledir); then \ ++ echo "$(INSTALL_SHLIB) $(shlib) $(DESTDIR)$(python_moduledir)/_pgmodule$(DLSUFFIX)"; \ ++ $(INSTALL_SHLIB) $(shlib) $(DESTDIR)$(python_moduledir)/_pgmodule$(DLSUFFIX); \ + \ + echo "$(INSTALL_DATA) $(srcdir)/pg.py $(DESTDIR)$(python_moduledir)/pg.py"; \ + $(INSTALL_DATA) $(srcdir)/pg.py $(DESTDIR)$(python_moduledir)/pg.py; \ +@@ -48,10 +48,10 @@ + fi + + installdirs: +- $(mkinstalldirs) $(DESTDIR)$(python_moduleexecdir) $(DESTDIR)$(python_moduledir) ++ $(mkinstalldirs) $(DESTDIR)$(python_moduledir) + + uninstall: +- rm -f $(DESTDIR)$(python_moduleexecdir)/_pgmodule$(DLSUFFIX) \ ++ rm -f $(DESTDIR)$(python_moduledir)/_pgmodule$(DLSUFFIX) \ + $(DESTDIR)$(python_moduledir)/pg.py \ + $(DESTDIR)$(python_moduledir)/pgdb.py + |