summaryrefslogtreecommitdiff
path: root/databases/py-PyGreSQL/files/patch-src::interfaces::python::GNUmakefile
diff options
context:
space:
mode:
authorJohann Visagie <wjv@FreeBSD.org>2002-10-23 14:33:47 +0000
committerJohann Visagie <wjv@FreeBSD.org>2002-10-23 14:33:47 +0000
commit6cd163c1f8d222b22ff03ac91e82be8fc7d7a154 (patch)
treecc2d5922e6b192d81fb96c33a30a89ab97951051 /databases/py-PyGreSQL/files/patch-src::interfaces::python::GNUmakefile
parentFix pre-build target (I messed it up with my first PR a long time ago.) (diff)
- Make this port a subport of databases/postgresql7, since the development of
PyGreSQL has been folded into that of PostgreSQL itself. - This update effectivly takes PyGreSQL to version 3.3, which is distributed with PostgreSQL 7.2.3. - Byte-compile installed modules to ensure clean deinstallation. - Install documentation under $DOCSDIR. - Remove Makefile from $FILESDIR - not required anymore. - Remove patch-pgdb.py - not required any longer. - Add two patches to ensure installation is $PREFIX-clean. - Update pkg-comment and pkg-descr to reflect the current status of the port.
Notes
Notes: svn path=/head/; revision=68661
Diffstat (limited to 'databases/py-PyGreSQL/files/patch-src::interfaces::python::GNUmakefile')
-rw-r--r--databases/py-PyGreSQL/files/patch-src::interfaces::python::GNUmakefile28
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
+