summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--games/halflifeserver/Makefile3
-rw-r--r--games/halflifeserver/pkg-message9
-rw-r--r--games/hlserver-cs/Makefile4
3 files changed, 16 insertions, 0 deletions
diff --git a/games/halflifeserver/Makefile b/games/halflifeserver/Makefile
index 676edda4d916..129aeb500d30 100644
--- a/games/halflifeserver/Makefile
+++ b/games/halflifeserver/Makefile
@@ -74,4 +74,7 @@ install-files:
scan-libs:
@${LDCONFIG_LINUX}
+post-install:
+ @${CAT} ${PKGMESSAGE}
+
.include <bsd.port.mk>
diff --git a/games/halflifeserver/pkg-message b/games/halflifeserver/pkg-message
new file mode 100644
index 000000000000..d5c9188cea34
--- /dev/null
+++ b/games/halflifeserver/pkg-message
@@ -0,0 +1,9 @@
+*WARNING* *WARNING* *WARNING* *WARNING* *WARNING* *WARNING*
+------------------------------------------------------------
+There is a bug in HLDS regarding the server log placement.
+Temporary workaround for this little problem is to run HLDS in
+a non-root environment. You may create a separate account for
+this or use an existing one as long as it does not have super-
+user privileges and manually do a recursive change in ownership
+and permissions to HLDS and any mods you install accordingly.
+------------------------------------------------------------
diff --git a/games/hlserver-cs/Makefile b/games/hlserver-cs/Makefile
index 80cf262fe6ec..3020dc1bd3a4 100644
--- a/games/hlserver-cs/Makefile
+++ b/games/hlserver-cs/Makefile
@@ -42,6 +42,7 @@ HALFLIFESERVER_PORT= ${.CURDIR}/../halflifeserver
HLDSDIR!= cd ${HALFLIFESERVER_PORT} && ${MAKE} -V HLDSDIR
HL_PROGRAM!= cd ${HALFLIFESERVER_PORT} && ${MAKE} -V HL_PROGRAM
PLIST_SUB_MASTER!= cd ${HALFLIFESERVER_PORT} && ${MAKE} -V PLIST_SUB_FOR_THIS_PORT
+PKGMESSAGE!= cd ${HALFLIFESERVER_PORT} && ${MAKE} -V PKGMESSAGE
pre-patch:
# remove trailing ^M
@@ -86,4 +87,7 @@ install-run-scripts:
@${SH} ${WRKDIR}/${script}.sh
.endfor
+post-install:
+ @${CAT} ${PKGMESSAGE}
+
.include <bsd.port.mk>