pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/biology/chemtool biology/chemtool: Fix build on CentOS...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/21042f1c23a1
branches:  trunk
changeset: 394197:21042f1c23a1
user:      bacon <bacon%pkgsrc.org@localhost>
date:      Sat Apr 06 00:41:46 2019 +0000

description:
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.

diffstat:

 biology/chemtool/Makefile |  8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)

diffs (29 lines):

diff -r 437d5f6dda53 -r 21042f1c23a1 biology/chemtool/Makefile
--- a/biology/chemtool/Makefile Fri Apr 05 23:25:01 2019 +0000
+++ b/biology/chemtool/Makefile Sat Apr 06 00:41:46 2019 +0000
@@ -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@localhost
 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:



Home | Main Index | Thread Index | Old Index