aboutsummaryrefslogtreecommitdiffstats
path: root/biology
diff options
context:
space:
mode:
authorpav <pav@FreeBSD.org>2006-06-23 02:53:30 +0800
committerpav <pav@FreeBSD.org>2006-06-23 02:53:30 +0800
commit242f29845300df321b04fb5ca0a755de910b0362 (patch)
treebf442c4bfa4937d139cdb6eb0ea665cac469fc4f /biology
parentea024c0a8f0dac2e653e046ca1dbdb2a09d092d0 (diff)
downloadfreebsd-ports-gnome-242f29845300df321b04fb5ca0a755de910b0362.tar.gz
freebsd-ports-gnome-242f29845300df321b04fb5ca0a755de910b0362.tar.zst
freebsd-ports-gnome-242f29845300df321b04fb5ca0a755de910b0362.zip
- Instruct amd64 users to libmap libpthread.so.2 to libc_r.so.6
Diffstat (limited to 'biology')
-rw-r--r--biology/boinc-simap/Makefile12
-rw-r--r--biology/boinc-simap/files/pkg-message.in (renamed from biology/boinc-simap/pkg-message)6
2 files changed, 15 insertions, 3 deletions
diff --git a/biology/boinc-simap/Makefile b/biology/boinc-simap/Makefile
index 813490ac596c..a6fdaa3fda20 100644
--- a/biology/boinc-simap/Makefile
+++ b/biology/boinc-simap/Makefile
@@ -32,12 +32,18 @@ SIMAP_BINARY= ${DISTNAME}
PLIST_SUB= SIMAP_BINARY=${SIMAP_BINARY} SIMAP_SITE=${SIMAP_SITE} \
BOINC_HOME=${BOINC_HOME}
-SUB_FILES= app_info.xml
-SUB_LIST= DISTNAME=${DISTNAME} APPVERSION=${PORTVERSION:S/.//}
+ONLY_FOR_ARCHS= i386 amd64
.include <bsd.port.pre.mk>
-ONLY_FOR_ARCHS= i386 amd64
+.if ${ARCH} == amd64
+AMD64= ""
+.else
+AMD64= "@comment "
+.endif
+
+SUB_FILES= app_info.xml pkg-message
+SUB_LIST= DISTNAME=${DISTNAME} APPVERSION=${PORTVERSION:S/.//} AMD64=${AMD64}
.if ${OSVERSION} < 600000
IGNORE= only supports FreeBSD 6.X and newer
diff --git a/biology/boinc-simap/pkg-message b/biology/boinc-simap/files/pkg-message.in
index cc9b9f4bf559..77850e802d85 100644
--- a/biology/boinc-simap/pkg-message
+++ b/biology/boinc-simap/files/pkg-message.in
@@ -14,3 +14,9 @@ MANUAL INSTALLATION
cd /var/db/boinc
boinc_cmd --project_attach boinc.bio.wzw.tum.de/boincsimap <account key>
*****************************************************************************
+%%AMD64%% IMPORTANT NOTICE FOR AMD64 USERS:
+%%AMD64%%
+%%AMD64%% You have to have this line in /etc/libmap32.conf:
+%%AMD64%% libpthread.so.2 libc_r.so.6
+%%AMD64%% before you attach the project. Otherwise it will not work.
+%%AMD64%%*****************************************************************************