summaryrefslogtreecommitdiff
path: root/biology/gromacs
diff options
context:
space:
mode:
authordholland <dholland>2010-07-31 19:14:08 +0000
committerdholland <dholland>2010-07-31 19:14:08 +0000
commitf815559d8fb8acec267ae4bd4e4f1a7a2804a9cc (patch)
tree1259d0df724aa425bc38b0c5d7fe46a3bc6b27ff /biology/gromacs
parent8dd0442085a0aaa72f933e29f9f54ed1e87ca72e (diff)
downloadpkgsrc-f815559d8fb8acec267ae4bd4e4f1a7a2804a9cc.tar.gz
Fix destdir follies and resulting plist lossage. PR 43579.
Diffstat (limited to 'biology/gromacs')
-rw-r--r--biology/gromacs/Makefile4
-rw-r--r--biology/gromacs/distinfo3
-rw-r--r--biology/gromacs/patches/patch-ak34
3 files changed, 38 insertions, 3 deletions
diff --git a/biology/gromacs/Makefile b/biology/gromacs/Makefile
index ee0f078fc78..c9646e837c2 100644
--- a/biology/gromacs/Makefile
+++ b/biology/gromacs/Makefile
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.2 2010/05/16 12:04:03 asau Exp $
+# $NetBSD: Makefile,v 1.3 2010/07/31 19:14:08 dholland Exp $
#
DISTNAME= gromacs-4.0.7
-PKGREVISION= 1
+PKGREVISION= 2
CATEGORIES= biology
MASTER_SITES= ftp://ftp.gromacs.org/pub/gromacs/
diff --git a/biology/gromacs/distinfo b/biology/gromacs/distinfo
index 447c35bd131..922dd4baa8a 100644
--- a/biology/gromacs/distinfo
+++ b/biology/gromacs/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.3 2010/06/17 09:26:16 asau Exp $
+$NetBSD: distinfo,v 1.4 2010/07/31 19:14:08 dholland Exp $
SHA1 (gromacs-4.0.7.tar.gz) = 8519bef2fa989fb487d54612b0a2d0228f228b30
RMD160 (gromacs-4.0.7.tar.gz) = 4fa8e5c90f549ef627a98a907a166676692a4c4b
@@ -13,3 +13,4 @@ SHA1 (patch-ag) = 5d46a0dba7db4dbf08ea83d448a6e5201871d217
SHA1 (patch-ah) = ad930cbb9f448780ca8745b899fe54c5470fff3b
SHA1 (patch-ai) = ed4aa71eb56d1300c67cd17057f72ea452739f3d
SHA1 (patch-aj) = 080d2923d729ff00de0f2cae75a82ec6c3769d6c
+SHA1 (patch-ak) = bdfebf85422a6a9025d1f2c71921c4cc1c3069c4
diff --git a/biology/gromacs/patches/patch-ak b/biology/gromacs/patches/patch-ak
new file mode 100644
index 00000000000..3e98cf730fc
--- /dev/null
+++ b/biology/gromacs/patches/patch-ak
@@ -0,0 +1,34 @@
+$NetBSD: patch-ak,v 1.1 2010/07/31 19:14:08 dholland Exp $
+
+Disable the extra symlinks like in src/gmxlib/Makefile.in; this makes
+the install behavior uniform for all the libraries.
+
+Note that if re-enabled the references to "libdir" below need DESTDIR
+affixed, or it'll blow up if USE_DESTDIR is set.
+
+
+--- src/tools/Makefile.in.orig 2009-12-06 21:18:54.000000000 +0000
++++ src/tools/Makefile.in
+@@ -1407,14 +1407,14 @@ uninstall-am: uninstall-binPROGRAMS unin
+
+
+ # link the mpi library to non-mpi names if the latter are not present
+-install-exec-hook:
+- libname="libgmxana@LIBSUFFIX@"; \
+- nompi="`echo $$libname | sed -e 's,_mpi,,'`"; \
+- libdir="$(libdir)"; \
+- if echo $$libname | grep mpi >/dev/null ; then \
+- (cd $$libdir && test -e $$libname.a -a ! -e $$nompi.a && $(LN_S) $$libname.a $$nompi.a ; exit 0); \
+- (cd $$libdir && test -e $$libname.so -a ! -e $$nompi.so && $(LN_S) $$libname.so $$nompi.so ; exit 0); \
+- fi;
++install-exec-hook: ;
++# libname="libgmxana@LIBSUFFIX@"; \
++# nompi="`echo $$libname | sed -e 's,_mpi,,'`"; \
++# libdir="$(libdir)"; \
++# if echo $$libname | grep mpi >/dev/null ; then \
++# (cd $$libdir && test -e $$libname.a -a ! -e $$nompi.a && $(LN_S) $$libname.a $$nompi.a ; exit 0); \
++# (cd $$libdir && test -e $$libname.so -a ! -e $$nompi.so && $(LN_S) $$libname.so $$nompi.so ; exit 0); \
++# fi;
+ # Tell versions [3.59,3.63) of GNU make to not export all variables.
+ # Otherwise a system limit (for SysV at least) may be exceeded.
+ .NOEXPORT: