summaryrefslogtreecommitdiff
path: root/databases/postgresql95
diff options
context:
space:
mode:
authoradam <adam@pkgsrc.org>2019-10-07 19:28:28 +0000
committeradam <adam@pkgsrc.org>2019-10-07 19:28:28 +0000
commiteeaf2a9fb9457967d9c3ec7409ebb3fd49017380 (patch)
tree0cf547d2112f59108acaefcf32e0a051eac3e18d /databases/postgresql95
parenta59c66b8aac3a0c6ee634a88db0be40e34df9a13 (diff)
downloadpkgsrc-eeaf2a9fb9457967d9c3ec7409ebb3fd49017380.tar.gz
Remove unused files; cleanup
Diffstat (limited to 'databases/postgresql95')
-rw-r--r--databases/postgresql95/Makefile.common14
-rw-r--r--databases/postgresql95/files/GNUmakefile.libpq20
2 files changed, 7 insertions, 27 deletions
diff --git a/databases/postgresql95/Makefile.common b/databases/postgresql95/Makefile.common
index cf4c709f826..2a838a8d984 100644
--- a/databases/postgresql95/Makefile.common
+++ b/databases/postgresql95/Makefile.common
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.26 2019/08/11 11:40:11 adam Exp $
+# $NetBSD: Makefile.common,v 1.27 2019/10/07 19:28:29 adam Exp $
#
# This Makefile fragment is included by all PostgreSQL packages built from
# the main sources of the PostgreSQL distribution except jdbc-postgresql.
@@ -119,19 +119,19 @@ CONFIGURE_ARGS+= --with-libedit-preferred
.if !defined(META_PACKAGE)
post-extract:
. if !empty(USE_LIBLTDL:M[yY][eE][sS])
- cp -f ${COMMON_FILESDIR}/dynloader-ltdl.h \
+ ${CP} -f ${COMMON_FILESDIR}/dynloader-ltdl.h \
${WRKSRC}/src/backend/port/dynloader/${PG_TEMPLATE.${OPSYS}:Q}.h
${ECHO} "static int dummy = 0;" \
> ${WRKSRC}/src/backend/port/dynloader/${PG_TEMPLATE.${OPSYS}:Q}.c
. endif
- touch ${WRKSRC}/src/template/dragonfly
- cp ${WRKSRC}/src/backend/port/dynloader/freebsd.c \
+ ${TOUCH} ${WRKSRC}/src/template/dragonfly
+ ${CP} ${WRKSRC}/src/backend/port/dynloader/freebsd.c \
${WRKSRC}/src/backend/port/dynloader/dragonfly.c
- cp ${WRKSRC}/src/backend/port/dynloader/freebsd.h \
+ ${CP} ${WRKSRC}/src/backend/port/dynloader/freebsd.h \
${WRKSRC}/src/backend/port/dynloader/dragonfly.h
- cp ${WRKSRC}/src/include/port/freebsd.h \
+ ${CP} ${WRKSRC}/src/include/port/freebsd.h \
${WRKSRC}/src/include/port/dragonfly.h
- cp ${WRKSRC}/src/makefiles/Makefile.freebsd \
+ ${CP} ${WRKSRC}/src/makefiles/Makefile.freebsd \
${WRKSRC}/src/makefiles/Makefile.dragonfly
.endif
diff --git a/databases/postgresql95/files/GNUmakefile.libpq b/databases/postgresql95/files/GNUmakefile.libpq
deleted file mode 100644
index 14c2b95343e..00000000000
--- a/databases/postgresql95/files/GNUmakefile.libpq
+++ /dev/null
@@ -1,20 +0,0 @@
-# $NetBSD: GNUmakefile.libpq,v 1.1 2016/02/25 21:37:35 tnn Exp $
-#
-# This GNUmakefile overrides the `all' target of $(libpq_srcdir)/Makefile
-# to be empty if INSTALLED_LIBPQ is defined. This handles the submake
-# targets sprinkled throughout the PostgreSQL Makefiles that execute
-#
-# @$(MAKE) -C $(libpq_builddir) all
-#
-# to ensure that the libpq libraries are built first. If INSTALLED_LIBPQ
-# is defined, then have the `all' target simple return success.
-
-ifdef INSTALLED_LIBPQ
-all:
- @test -f libpq.a || touch libpq.a
-endif
-
-%: force
- @$(MAKE) -f Makefile $@
-
-force: ;