summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbacon <bacon@pkgsrc.org>2019-04-06 00:41:46 +0000
committerbacon <bacon@pkgsrc.org>2019-04-06 00:41:46 +0000
commitc39d2e7a09c130ba1a8d4c4a54d74328f544b484 (patch)
treec8ee1c112c09c25c338037039809d1afd1266f2f
parent75a1b7b3f0c9233822f7fe175889ec1915987c0f (diff)
downloadpkgsrc-c39d2e7a09c130ba1a8d4c4a54d74328f544b484.tar.gz
biology/chemtool: Fix build on CentOS and NetBSD
Upstream build does not use LDFLAGS canonically. Makefile.in will require restructuring to eliminate workaround. This patch fixes build on CentOS and build with RELRO on NetBSD. Also add LICENSE and fig2dev runtime dependency.
-rw-r--r--biology/chemtool/Makefile8
1 files changed, 6 insertions, 2 deletions
diff --git a/biology/chemtool/Makefile b/biology/chemtool/Makefile
index 389984ca009..0d96b70c49b 100644
--- a/biology/chemtool/Makefile
+++ b/biology/chemtool/Makefile
@@ -1,19 +1,23 @@
-# $NetBSD: Makefile,v 1.59 2018/11/14 22:21:06 kleink Exp $
+# $NetBSD: Makefile,v 1.60 2019/04/06 00:41:46 bacon Exp $
DISTNAME= chemtool-1.6.14
-PKGREVISION= 9
+PKGREVISION= 10
CATEGORIES= biology
MASTER_SITES= http://ruby.chemie.uni-freiburg.de/~martin/chemtool/
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://ruby.chemie.uni-freiburg.de/~martin/chemtool/
COMMENT= Program for drawing organic molecules
+LICENSE= gnu-gpl-v2
+
+DEPENDS+= fig2dev-[0-9]*:../../print/fig2dev
USE_PKGLOCALEDIR= yes
USE_TOOLS+= gmake pkg-config
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --without-gnomedir
+LIBS+= ${LDFLAGS}
INSTALLATION_DIRS= share/doc/chemtool share/examples/chemtool
post-install: