aboutsummaryrefslogtreecommitdiff
path: root/biology/boinc-simap
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2010-07-29 08:30:24 +0000
committerPav Lucistnik <pav@FreeBSD.org>2010-07-29 08:30:24 +0000
commit39b767908d6736e0985446a8fec82b593e015f4d (patch)
treea7def841ff977f5b4f955d12185f711f58976268 /biology/boinc-simap
parentf1185c520d415cdd0b01b01653c5806b615a5ff3 (diff)
downloadports-39b767908d6736e0985446a8fec82b593e015f4d.tar.gz
ports-39b767908d6736e0985446a8fec82b593e015f4d.zip
Notes
Diffstat (limited to 'biology/boinc-simap')
-rw-r--r--biology/boinc-simap/Makefile15
-rw-r--r--biology/boinc-simap/files/pkg-message.in3
2 files changed, 14 insertions, 4 deletions
diff --git a/biology/boinc-simap/Makefile b/biology/boinc-simap/Makefile
index 754ffa52e00e..6492674061ca 100644
--- a/biology/boinc-simap/Makefile
+++ b/biology/boinc-simap/Makefile
@@ -48,14 +48,23 @@ MACH= i686
MACH= i386
.endif
-.if ${ARCH} == amd64 && ${OSVERSION} < 800000
+.if ${ARCH} == amd64
AMD64= ""
+.if ${OSVERSION} < 800000
+AMD64_BEFORE_8000000= ""
+AMD64_AFTER_8000000= "@comment"
.else
-AMD64= "@comment "
+AMD64_BEFORE_8000000= "@comment"
+AMD64_AFTER_8000000= ""
+.endif
+.else
+AMD64= "@comment"
+AMD64_BEFORE_8000000= "@comment"
+AMD64_AFTER_8000000= "@comment"
.endif
SUB_FILES= app_info.xml pkg-message
-SUB_LIST= SIMAP_BINARY=${SIMAP_BINARY} HMMER_BINARY=${HMMER_BINARY} SIMAP_APPVERSION=${SIMAP_VERSION:S/.//} HMMER_APPVERSION=${HMMER_VERSION:S/.//} AMD64=${AMD64}
+SUB_LIST= SIMAP_BINARY=${SIMAP_BINARY} HMMER_BINARY=${HMMER_BINARY} SIMAP_APPVERSION=${SIMAP_VERSION:S/.//} HMMER_APPVERSION=${HMMER_VERSION:S/.//} AMD64=${AMD64} AMD64_BEFORE_8000000=${AMD64_BEFORE_8000000} AMD64_AFTER_8000000=${AMD64_AFTER_8000000}
.if ${OSVERSION} >= 700043
LIB_DEPENDS+= c.6:${PORTSDIR}/misc/compat6x
diff --git a/biology/boinc-simap/files/pkg-message.in b/biology/boinc-simap/files/pkg-message.in
index 77850e802d85..40dc001a677d 100644
--- a/biology/boinc-simap/files/pkg-message.in
+++ b/biology/boinc-simap/files/pkg-message.in
@@ -17,6 +17,7 @@ MANUAL INSTALLATION
%%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_8000000%% libpthread.so.2 libc_r.so.6
+%%AMD64_AFTER_8000000%% libpthread.so.2 libthr.so.2
%%AMD64%% before you attach the project. Otherwise it will not work.
%%AMD64%%*****************************************************************************