summaryrefslogtreecommitdiff
path: root/databases
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2003-01-05 20:19:35 +0000
committerjlam <jlam@pkgsrc.org>2003-01-05 20:19:35 +0000
commit40d4e783e2d5d737143fe31aef7b83ec3e661efd (patch)
treef68e2a7c1225b28a08ea7a0a1a1cc62f656066c5 /databases
parenta08faa5a6ee27be2262024b40b865a1aeda55f3f (diff)
downloadpkgsrc-40d4e783e2d5d737143fe31aef7b83ec3e661efd.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: ;