diff options
author | jlam <jlam@pkgsrc.org> | 2003-01-05 20:19:35 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2003-01-05 20:19:35 +0000 |
commit | 40d4e783e2d5d737143fe31aef7b83ec3e661efd (patch) | |
tree | f68e2a7c1225b28a08ea7a0a1a1cc62f656066c5 /databases/postgresql | |
parent | a08faa5a6ee27be2262024b40b865a1aeda55f3f (diff) | |
download | pkgsrc-40d4e783e2d5d737143fe31aef7b83ec3e661efd.tar.gz |
Suppress checks for building libpgtcl.a if tcl-postgresql package is
installed.
Diffstat (limited to 'databases/postgresql')
-rw-r--r-- | databases/postgresql/files/GNUmakefile.libpgtcl | 20 |
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: ; |