1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-17 08:01:36 +00:00

- Switch to options helpers

- Regenerate patches with `make makepatch`
- Mark WXGTK option broken: does not build: src/convErr/gc_errhandling.cpp:75:12: error: cannot initialize return object of type 'const char *' with an rvalue of type 'const wxChar *' (aka 'const wchar_t *')
This commit is contained in:
Dmitry Marakasov 2016-08-18 09:31:58 +00:00
parent 573662ed3b
commit d262e5a758
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=420392
3 changed files with 11 additions and 16 deletions

View File

@ -14,8 +14,6 @@ COMMENT= Package of programs for computing population parameters
LICENSE= APACHE20
OPTIONS_DEFINE= WXGTK DOCS
WRKSRC= ${WRKDIR}/${DISTNAME:S,${DISTVERSIONSUFFIX},,}
GNU_CONFIGURE= yes
@ -23,16 +21,13 @@ GNU_CONFIGURE= yes
PORTDOCS= *
PLIST_FILES= bin/${PORTNAME}
.include <bsd.port.options.mk>
OPTIONS_DEFINE= WXGTK DOCS
.if ${PORT_OPTIONS:MWXGTK}
USE_WX= 2.8
WX_CONF_ARGS= absolute
WX_UNICODE= yes
PLIST_FILES+= bin/lam_conv
.else
CONFIGURE_ARGS+= --disable-converter
.endif
WXGTK_USE= WX=2.8
WXGTK_VARS= WX_CONF_ARGS=absolute
WXGTK_PLIST_FILES= bin/lam_conv
WXGTK_CONFIGURE_OFF= --disable-converter
WXGTK_BROKEN= does not build
post-patch:
@${REINPLACE_CMD} -e \

View File

@ -1,4 +1,4 @@
--- src/control/defaults.h.orig
--- src/control/defaults.h.orig 2012-05-01 21:38:26 UTC
+++ src/control/defaults.h
@@ -3,6 +3,7 @@
#ifndef DEFAULTS_H

View File

@ -1,6 +1,6 @@
--- src/tools/stringx.h.orig 2012-12-03 12:01:34.000000000 +0100
+++ src/tools/stringx.h 2012-12-03 12:02:30.000000000 +0100
@@ -107,6 +107,26 @@
--- src/tools/stringx.h.orig 2011-04-23 02:02:49 UTC
+++ src/tools/stringx.h
@@ -107,6 +107,26 @@ struct CIStringCompare : public std::bin
bool ciStringEqual(const std::string& s1, const std::string& s2);
@ -27,7 +27,7 @@
//------------------------------------------------------------------------------------
template <class T>
@@ -188,26 +208,6 @@
@@ -188,26 +208,6 @@ bool FromString(const std::string & in,
DoubleVec1d StringToDoubleVecOrBarf(const std::string& in);