pkgsrc-Changes archive

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

CVS commit: pkgsrc/math/sc-im



Module Name:    pkgsrc
Committed By:   leot
Date:           Mon Feb 11 22:01:18 UTC 2019

Modified Files:
        pkgsrc/math/sc-im: Makefile options.mk

Log Message:
sc-im: Add xls option and add it to suggested option

Bump PKGREVISION.

Patch provided by Sijmen J. Mulder via tech-pkg@, thanks!


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 pkgsrc/math/sc-im/Makefile \
    pkgsrc/math/sc-im/options.mk

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/math/sc-im/Makefile
diff -u pkgsrc/math/sc-im/Makefile:1.1 pkgsrc/math/sc-im/Makefile:1.2
--- pkgsrc/math/sc-im/Makefile:1.1      Wed Jan 30 12:58:24 2019
+++ pkgsrc/math/sc-im/Makefile  Mon Feb 11 22:01:18 2019
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.1 2019/01/30 12:58:24 leot Exp $
+# $NetBSD: Makefile,v 1.2 2019/02/11 22:01:18 leot Exp $
 
 DISTNAME=      sc-im-0.7.0
+PKGREVISION=   1
 CATEGORIES=    math
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=andmarti1424/}
 GITHUB_TAG=    v${PKGVERSION_NOREV}
Index: pkgsrc/math/sc-im/options.mk
diff -u pkgsrc/math/sc-im/options.mk:1.1 pkgsrc/math/sc-im/options.mk:1.2
--- pkgsrc/math/sc-im/options.mk:1.1    Wed Jan 30 12:58:24 2019
+++ pkgsrc/math/sc-im/options.mk        Mon Feb 11 22:01:18 2019
@@ -1,8 +1,8 @@
-# $NetBSD: options.mk,v 1.1 2019/01/30 12:58:24 leot Exp $
+# $NetBSD: options.mk,v 1.2 2019/02/11 22:01:18 leot Exp $
 
 PKG_OPTIONS_VAR=       PKG_OPTIONS.sc-im
-PKG_SUPPORTED_OPTIONS+=        color xlsx lua
-PKG_SUGGESTED_OPTIONS+=        color xlsx lua
+PKG_SUPPORTED_OPTIONS+=        color xls xlsx lua
+PKG_SUGGESTED_OPTIONS+=        color xls xlsx lua
 
 .include "../../mk/bsd.options.mk"
 
@@ -10,6 +10,12 @@ PKG_SUGGESTED_OPTIONS+=      color xlsx lua
 CFLAGS+=       -DUSECOLORS
 .endif
 
+.if !empty(PKG_OPTIONS:Mxls)
+CFLAGS+=       -DXLS
+LDFLAGS+=      -lxlsreader
+.include "../../textproc/libxls/buildlink3.mk"
+.endif
+
 .if !empty(PKG_OPTIONS:Mxlsx)
 CFLAGS+=       -DXLSX -DXLSX_EXPORT
 LDFLAGS+=      -lxlsxwriter



Home | Main Index | Thread Index | Old Index