Files
Ryan Carsten Schmidt f637baff70 libguichan: Autoreconf to pass -stdlib at link time
Fixes build on OS X 10.7 and 10.8.
2024-01-24 02:23:29 +11:00

37 lines
1.4 KiB
Tcl

# -*- 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 libguichan
version 0.8.2
categories graphics devel
license BSD
maintainers {jmr @jmroot} openmaintainer
description portable C++ GUI library designed for games using SDL
long_description Guichan is a portable C++ GUI library designed for \
games using SDL and/or OpenGL.
homepage http://guichan.sourceforge.net/
master_sites googlecode:guichan
distname guichan-${version}
checksums md5 af535d7f387e774e3197cef8023ea105 \
sha1 50cac146154740d604c752c87dbba00a2793892b \
rmd160 42962ecbb9efd00448cdb7249e2f3d1cbe94f79f
depends_lib port:libsdl port:libsdl_image port:allegro port:mesa
patchfiles remove-no-undefined.patch
# Teach glibtool to pass -stdlib at link time.
# Also we are patching Makefile.am files.
use_autoreconf yes
autoreconf.args -fvi
if {${os.platform} eq "darwin" && ((${universal_possible} && [variant_isset universal] &&
[string match *64* ${configure.universal_archs}]) || ((!${universal_possible} || ![variant_isset universal]) &&
[string match *64 ${configure.build_arch}]))} {
# allegro is not yet 64-bit compatible
depends_lib-delete port:allegro
configure.args-append --disable-allegro
}