aboutsummaryrefslogtreecommitdiff
path: root/science/libghemical
diff options
context:
space:
mode:
authorYuri Victorovich <yuri@FreeBSD.org>2018-07-18 05:28:24 +0000
committerYuri Victorovich <yuri@FreeBSD.org>2018-07-18 05:28:24 +0000
commit52d98a3be495475232e624e7c04e270ab169c9fb (patch)
treea8f33c730815f01851acefdb2cddb8b67826594c /science/libghemical
parenta8008cce21a70b6072b949afa1364a939caae8c9 (diff)
downloadports-52d98a3be495475232e624e7c04e270ab169c9fb.tar.gz
ports-52d98a3be495475232e624e7c04e270ab169c9fb.zip
science/libghemical: Remove BROKEN/DEPRECATED labels
The main cause of the breakage was a libary linkage problem in science/mpqc which is now fixed. Other port changes: * Add LICENSE/LICENSE_FILE * Add missing items to LIB_DEPENDS * Add workaround for the problem that configure fails due to the libgcc.so mismatch. By using CONFIGURE_ENV, preload libgcc.so from the gcc package. * Update WWW
Notes
Notes: svn path=/head/; revision=474834
Diffstat (limited to 'science/libghemical')
-rw-r--r--science/libghemical/Makefile14
-rw-r--r--science/libghemical/pkg-descr2
2 files changed, 10 insertions, 6 deletions
diff --git a/science/libghemical/Makefile b/science/libghemical/Makefile
index 2691907706a0..c0b9263007d6 100644
--- a/science/libghemical/Makefile
+++ b/science/libghemical/Makefile
@@ -11,21 +11,25 @@ MASTER_SITES= http://bioinformatics.org/ghemical/download/release20111012/ \
MAINTAINER= yuri@FreeBSD.org
COMMENT= Support libraries of science/ghemical port
-BROKEN= fails to configure
-DEPRECATED= Broken for more than 5 months
-EXPIRATION_DATE= 2018-08-20
+LICENSE= GPLv2
+LICENSE_FILE= ${WRKSRC}/COPYING
BUILD_DEPENDS= obabel:science/openbabel \
intltool-update:textproc/intltool \
ld:devel/binutils
-LIB_DEPENDS= libmpqc.so:science/mpqc \
- libf2c.so:lang/f2c
+LIB_DEPENDS= libblas.so:math/blas \
+ libint.so:science/libint \
+ libf2c.so:lang/f2c \
+ liblapack.so:math/lapack \
+ libmpqc.so:science/mpqc
USES= fortran gettext gmake pathfix pkgconfig libtool
USE_GL= gl
GNU_CONFIGURE= yes
USE_LDCONFIG= yes
+CONFIGURE_ENV= LD_PRELOAD=${LOCALBASE}/lib/gcc6/libgcc_s.so # workaround: otherwise configure fails
+
CONFIGURE_ARGS+= --enable-mpqc
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib -lSCbasis -lSCcints -lSCclass \
diff --git a/science/libghemical/pkg-descr b/science/libghemical/pkg-descr
index a804fdc62da4..f5db112e5fb5 100644
--- a/science/libghemical/pkg-descr
+++ b/science/libghemical/pkg-descr
@@ -1,3 +1,3 @@
libghemical is a support library packages for biology/ghemical
-WWW: http://www.uku.fi/~thassine/projects/ghemical/
+WWW: https://www.bioinformatics.org/ghemical/ghemical/index.html