From b9f73aa55013de3308796d676f9d26fe12484aa6 Mon Sep 17 00:00:00 2001 From: acm Date: Sat, 30 Mar 2013 04:33:48 +0000 Subject: - Fix build on all version of firebird2*-client - Rename pkg-install to pkg-install-server. It only must be used by firebird server ports Reported by: miwiw --- databases/firebird20-server/Makefile | 3 +- databases/firebird20-server/pkg-install | 47 -------------------------- databases/firebird20-server/pkg-install-server | 47 ++++++++++++++++++++++++++ databases/firebird21-server/Makefile | 4 ++- databases/firebird21-server/pkg-install | 47 -------------------------- databases/firebird21-server/pkg-install-server | 47 ++++++++++++++++++++++++++ databases/firebird25-server/Makefile | 4 ++- databases/firebird25-server/pkg-install | 46 ------------------------- databases/firebird25-server/pkg-install-server | 46 +++++++++++++++++++++++++ 9 files changed, 148 insertions(+), 143 deletions(-) delete mode 100644 databases/firebird20-server/pkg-install create mode 100644 databases/firebird20-server/pkg-install-server delete mode 100644 databases/firebird21-server/pkg-install create mode 100644 databases/firebird21-server/pkg-install-server delete mode 100644 databases/firebird25-server/pkg-install create mode 100644 databases/firebird25-server/pkg-install-server (limited to 'databases') diff --git a/databases/firebird20-server/Makefile b/databases/firebird20-server/Makefile index b57a7d5188e6..b9555cc14f56 100644 --- a/databases/firebird20-server/Makefile +++ b/databases/firebird20-server/Makefile @@ -64,6 +64,7 @@ SUB_FILES= pkg-message aliases.conf UTIL_BIN= fb_inet_server fb_lock_print fbstat gbak gdef gfix gsec nbackup UDF_SO= ib_udf.so fbudf.so UDF_SQL= src/extlib/ib_udf2.sql src/extlib/fbudf/fbudf.sql +PKGINSTALL?= ${PKGDIR}/pkg-install${PKGNAMESUFFIX} .else # Client part stuff AUTOGENARGS= --with-editline @@ -115,7 +116,7 @@ post-install: .ifndef WITHOUT_IPC_CLEANUP pre-build: -.ifndef PACKAGE_BUILDING +.if !defined(CLIENT_ONLY) @${SETENV} PKG_PREFIX="${PREFIX}" ${SH} ${PKGINSTALL} ${PORTNAME} PRE-INSTALL .endif [ -f ${WRKDIR}/ipcs.pre.build ] || /usr/bin/ipcs -s | ${TAIL} -n +3 | \ diff --git a/databases/firebird20-server/pkg-install b/databases/firebird20-server/pkg-install deleted file mode 100644 index 3fe8ab2eb470..000000000000 --- a/databases/firebird20-server/pkg-install +++ /dev/null @@ -1,47 +0,0 @@ -#!/bin/sh - -# $FreeBSD$ - -PATH=/bin:/usr/bin:/usr/sbin - -buildwarning() { -cat <