diff options
author | jlam <jlam> | 2003-01-05 20:19:35 +0000 |
---|---|---|
committer | jlam <jlam> | 2003-01-05 20:19:35 +0000 |
commit | ef8c18fb9c593af24ce78bb36e93c18af391c66d (patch) | |
tree | f68e2a7c1225b28a08ea7a0a1a1cc62f656066c5 /databases | |
parent | 87eac890e4d7d35a1cb33d77307b4a5efde2b412 (diff) | |
download | pkgsrc-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.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: ; |