summaryrefslogtreecommitdiff
path: root/databases
diff options
context:
space:
mode:
authorjlam <jlam>2003-01-05 20:19:35 +0000
committerjlam <jlam>2003-01-05 20:19:35 +0000
commitef8c18fb9c593af24ce78bb36e93c18af391c66d (patch)
treef68e2a7c1225b28a08ea7a0a1a1cc62f656066c5 /databases
parent87eac890e4d7d35a1cb33d77307b4a5efde2b412 (diff)
downloadpkgsrc-ef8c18fb9c593af24ce78bb36e93c18af391c66d.tar.gz
Suppress checks for building libpgtcl.a if tcl-postgresql package is
installed.
Diffstat (limited to 'databases')
-rw-r--r--databases/postgresql/files/GNUmakefile.libpgtcl20
1 files changed, 20 insertions, 0 deletions
diff --git a/databases/postgresql/files/GNUmakefile.libpgtcl b/databases/postgresql/files/GNUmakefile.libpgtcl
new file mode 100644
index 00000000000..96ba35af44d
--- /dev/null
+++ b/databases/postgresql/files/GNUmakefile.libpgtcl
@@ -0,0 +1,20 @@
+# $NetBSD: GNUmakefile.libpgtcl,v 1.1 2003/01/05 20:19:35 jlam Exp $
+#
+# This GNUmakefile overrides the `all' target of $(libpgtcl_srcdir)/Makefile
+# to be empty if INSTALLED_LIBPGTCL is defined. This handles the submake
+# targets sprinkled throughout the PostgreSQL Makefiles that execute
+#
+# @$(MAKE) -C $(libpgtcl_builddir) all
+#
+# to ensure that the libpgtcl libraries are built first. If INSTALLED_LIBPGTCL
+# is defined, then have the `all' target simple return success.
+
+ifdef INSTALLED_LIBPGTCL
+all:
+ @test -f libpgtcl.a || touch libpgtcl.a
+endif
+
+%: force
+ @$(MAKE) -f Makefile $@
+
+force: ;