From 41dda7a988b002afb52009d0dc076d2446f35535 Mon Sep 17 00:00:00 2001 From: Maho Nakata Date: Thu, 17 Jun 2010 10:40:46 +0000 Subject: [PATCH] add pkg-message when gamess won't run and bump portrevision accordingly. --- science/gamess/Makefile | 2 +- science/gamess/pkg-message | 13 +++++++++++++ 2 files changed, 14 insertions(+), 1 deletion(-) create mode 100644 science/gamess/pkg-message diff --git a/science/gamess/Makefile b/science/gamess/Makefile index 5a69c6dfd839..9a74611e745a 100644 --- a/science/gamess/Makefile +++ b/science/gamess/Makefile @@ -7,7 +7,7 @@ PORTNAME= gamess PORTVERSION= ${SNAPDATE} -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= science MASTER_SITES= #http://www.msg.ameslab.gov/GAMESS/License_Agreement.html DISTNAME= gamess-current diff --git a/science/gamess/pkg-message b/science/gamess/pkg-message new file mode 100644 index 000000000000..08b396ab437f --- /dev/null +++ b/science/gamess/pkg-message @@ -0,0 +1,13 @@ +WARNING!!WARNING!!WARNING!!WARNING!! + +If you got the following error +'Error ENOMEM: Not enough memory to allocate ** bytes of shared memory.', +then add ipc memory by: +sudo sysctl -w kern.ipc.shmmax=67108864 +sudo sysctl -w kern.ipc.shmall=32768 +or if you want to enable at boot time +add following lines to +kern.ipc.shmmax=67108864 +kern.ipc.shmall=32768 +/boot/loader.conf +.