-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
See: Papierkorb/bindgen#77 See: ivmai/bdwgc#268 Fixes: https://trac.macports.org/ticket/65727
- Loading branch information
1 parent
b4c3993
commit b7c80ff
Showing
4 changed files
with
50 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,52 @@ | ||
PortSystem 1.0 | ||
# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4 | ||
|
||
PortSystem 1.0 | ||
|
||
name scriptix | ||
version 0.31 | ||
revision 2 | ||
revision 3 | ||
categories devel | ||
license BSD | ||
maintainers nomaintainer | ||
description scripting system coded in C++ | ||
long_description \ | ||
Scriptix is a scripting system coded in C++, designed solely \ | ||
for embedding in other C++ applications. Scriptix doesn't \ | ||
pretend to be a stand-alone language. | ||
homepage http://www.awemud.net/ | ||
platforms darwin | ||
long_description Scriptix is a scripting system coded in C++, designed solely \ | ||
for embedding in other C++ applications. Scriptix doesn't \ | ||
pretend to be a stand-alone language. | ||
homepage https://sourceforge.net/projects/awemud/ | ||
master_sites sourceforge:awemud | ||
checksums md5 62cfa278d9580d17bedce9d67365cc93 | ||
checksums rmd160 6286fdffaf324d0f754340d921bb191f9dd8c82c \ | ||
sha256 2b38ca0cad98f3794b9460ea1ee3f6f57ce3fd225a2854f32ad50eab6f403c47 \ | ||
size 386220 | ||
|
||
depends_lib port:boehmgc | ||
patchfiles patch-Makefile.am patch-Makefile.in | ||
|
||
patchfiles patch-Makefile.am.diff \ | ||
patch-Makefile.in.diff \ | ||
patch-missing-headers.diff | ||
|
||
post-patch { | ||
reinplace s|shrext_cmds|shrext|g ${worksrcpath}/configure | ||
reinplace s|shrext_cmds|shrext|g ${worksrcpath}/configure | ||
} | ||
|
||
platform darwin { | ||
if {${os.major} > 10 && ${os.major} < 16} { | ||
# Newer gcc and clang fail to build it. | ||
# apple-gcc-4.2 builds through 10.11. | ||
depends_build-append port:apple-gcc42 | ||
configure.compiler apple-gcc-4.2 | ||
} | ||
|
||
if {${os.major} > 15} { | ||
known_fail yes | ||
pre-fetch { | ||
ui_error "${name} requires MacOS 10.11 or earlier" | ||
return -code error "incompatible OS version" | ||
} | ||
} | ||
} | ||
|
||
configure.args --with-gc=${prefix} | ||
|
||
# See: https://github.com/ivmai/bdwgc/issues/268 | ||
configure.ldflags-append \ | ||
-lgccpp |
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
--- lib/string.cc.orig 2005-11-13 13:11:17.000000000 +0800 | ||
+++ lib/string.cc 2023-05-29 07:24:40.000000000 +0800 | ||
@@ -27,6 +27,7 @@ | ||
|
||
#include <iostream> | ||
#include <ctype.h> | ||
+#include <cstring> | ||
|
||
#include "scriptix.h" | ||
#include "system.h" |