summaryrefslogtreecommitdiff
path: root/databases/firebird20-server
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/firebird20-server
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
Notes
Notes: svn path=/head/; revision=173405
Diffstat (limited to 'databases/firebird20-server')
-rw-r--r--databases/firebird20-server/Makefile2
1 files changed, 2 insertions, 0 deletions
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