forked from macports/macports-ports
-
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
8dbefe0
commit d0b8624
Showing
2 changed files
with
37 additions
and
0 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 |
---|---|---|
@@ -0,0 +1,26 @@ | ||
# -*- 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 | ||
PortGroup cmake 1.1 | ||
PortGroup github 1.0 | ||
|
||
github.setup toxext toxext 0.0.3 v | ||
revision 0 | ||
categories net security | ||
license GPL-3 | ||
maintainers nomaintainer | ||
description Extension library for Tox | ||
long_description ToxExt - An extension library for Tox. | ||
checksums rmd160 a1cd7ad7f1c2451eed1872c8a705b9fadeb3629c \ | ||
sha256 99cf215d261a07bd83eafd1c69dcf78018db605898350b6137f1fd8e7c54734a \ | ||
size 34759 | ||
github.tarball_from archive | ||
|
||
# https://github.com/toxext/toxext/issues/12 | ||
patchfiles-append patch-do-not-force-sanitizers.diff | ||
|
||
depends_build-append path:bin/pkg-config:pkgconfig | ||
|
||
depends_lib-append port:toxcore | ||
|
||
compiler.c_standard 2011 |
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,11 @@ | ||
--- test/CMakeLists.txt 2021-10-26 14:05:04.000000000 +0800 | ||
+++ test/CMakeLists.txt 2024-12-04 12:48:22.000000000 +0800 | ||
@@ -6,7 +6,7 @@ | ||
# I'm sure I could do this better but I don't want to spend my time on cmake really | ||
function(toxext_test test_name) | ||
add_executable(${test_name} ${ARGN}) | ||
- if (UNIX) | ||
+ if (UNIX AND NOT APPLE) | ||
target_compile_options(${test_name} PRIVATE -fsanitize=address) | ||
target_link_libraries(${test_name} "-fsanitize=address") | ||
endif() |