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.
This commit is contained in:
bacon 2019-04-06 00:41:46 +00:00
parent 9c735d4584
commit e8920912ba

View file

@ -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: