summaryrefslogtreecommitdiff
path: root/databases
diff options
context:
space:
mode:
authorSergey Skvortsov <skv@FreeBSD.org>2006-09-19 18:11:26 +0000
committerSergey Skvortsov <skv@FreeBSD.org>2006-09-19 18:11:26 +0000
commit4a48aa4c07db10b7c80eb7502a195b237beaf406 (patch)
tree2c26d5fb100fb6f8c42ff2c534281b80bcf2e12b /databases
parentAdd WANT_GNOME since we removed the global USE_GNOME along with gnomehier. (diff)
Allow to build port as 'root' if PACKAGE_BUILDING defined.
Requested by: kris
Diffstat (limited to 'databases')
-rw-r--r--databases/firebird-server/Makefile2
-rw-r--r--databases/firebird2-server/Makefile2
-rw-r--r--databases/firebird20-server/Makefile2
3 files changed, 6 insertions, 0 deletions
diff --git a/databases/firebird-server/Makefile b/databases/firebird-server/Makefile
index eebdd65394d9..4a72ba31ae9a 100644
--- a/databases/firebird-server/Makefile
+++ b/databases/firebird-server/Makefile
@@ -109,8 +109,10 @@ post-su-install:
.ifndef WITHOUT_IPC_CLEANUP
pre-build:
+.ifndef PACKAGE_BUILDING
@if [ `${ID} -u` -eq 0 ]; then \
${ECHO_MSG} "==> Please do not build ${PORTNAME} as 'root' because this may cause conflicts with SysV semaphores of running services."; exit 1; fi
+.endif
[ -f ${WRKDIR}/ipcs.pre.build ] || /usr/bin/ipcs -s | ${TAIL} -n +3 | \
${GREP} -F `${ID} -un` | ${CAT} > ${WRKDIR}/ipcs.pre.build
diff --git a/databases/firebird2-server/Makefile b/databases/firebird2-server/Makefile
index e43e14ed379d..86870a9cbf6a 100644
--- a/databases/firebird2-server/Makefile
+++ b/databases/firebird2-server/Makefile
@@ -121,8 +121,10 @@ post-su-install:
.ifndef WITHOUT_IPC_CLEANUP
pre-build:
+.ifndef PACKAGE_BUILDING
@if [ `${ID} -u` -eq 0 ]; then \
${ECHO_MSG} "==> Please do not build ${PORTNAME} as 'root' because this may cause conflicts with SysV semaphores of running services."; exit 1; fi
+.endif
[ -f ${WRKDIR}/ipcs.pre.build ] || /usr/bin/ipcs -s | ${TAIL} -n +3 | \
${GREP} -F `${ID} -un` | ${CAT} > ${WRKDIR}/ipcs.pre.build
diff --git a/databases/firebird20-server/Makefile b/databases/firebird20-server/Makefile
index e43e14ed379d..86870a9cbf6a 100644
--- a/databases/firebird20-server/Makefile
+++ b/databases/firebird20-server/Makefile
@@ -121,8 +121,10 @@ post-su-install:
.ifndef WITHOUT_IPC_CLEANUP
pre-build:
+.ifndef PACKAGE_BUILDING
@if [ `${ID} -u` -eq 0 ]; then \
${ECHO_MSG} "==> Please do not build ${PORTNAME} as 'root' because this may cause conflicts with SysV semaphores of running services."; exit 1; fi
+.endif
[ -f ${WRKDIR}/ipcs.pre.build ] || /usr/bin/ipcs -s | ${TAIL} -n +3 | \
${GREP} -F `${ID} -un` | ${CAT} > ${WRKDIR}/ipcs.pre.build