pkgsrc-WIP-changes archive

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

sc-im: XLSX_EXPORT, not XLSX_WRITER



Module Name:	pkgsrc-wip
Committed By:	Sijmen J. Mulder <ik%sjmulder.nl@localhost>
Pushed By:	sjmulder
Date:		Tue Dec 11 00:05:57 2018 +0100
Changeset:	f70de95bfde1faefb7c4fde24e9a12fb61edeb02

Modified Files:
	sc-im/options.mk

Log Message:
sc-im: XLSX_EXPORT, not XLSX_WRITER

Testing revealed that the XLSX export feature actually wasn't built in.
Fixing that in turn showed that the required library wasn't linked in.

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=f70de95bfde1faefb7c4fde24e9a12fb61edeb02

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

diffstat:
 sc-im/options.mk | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diffs:
diff --git a/sc-im/options.mk b/sc-im/options.mk
index ec8afe929a..77c4abf4ea 100644
--- a/sc-im/options.mk
+++ b/sc-im/options.mk
@@ -14,7 +14,8 @@ LDFLAGS+=	-lxlsreader
 
 # reader only, writer needs libxlsxwriter
 .if !empty(PKG_OPTIONS:Mxlsx)
-CFLAGS+=	-DXLSX -DXLSX_WRITER
+CFLAGS+=	-DXLSX -DXLSX_EXPORT
+LDFLAGS+=	-lxlsxwriter
 .include "../../archivers/libzip/buildlink3.mk"
 .include "../../textproc/libxml2/buildlink3.mk"
 .include "../../wip/libxlsxwriter/buildlink3.mk"


Home | Main Index | Thread Index | Old Index