28 lines
1.1 KiB

# --- SDE-COPYRIGHT-NOTE-BEGIN ---
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
#
# Filename: package/.../smalltalk/smalltalk.conf
# Copyright (C) 2007 - 2010 The OpenSDE Project
#
# More information can be found in the files COPYING and README.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; version 2 of the License. A copy of the
# GNU General Public License can be found in the file COPYING.
# --- SDE-COPYRIGHT-NOTE-END ---
# use libsigsegv provided by the system and not the built-in one
# avoiding shared files with libsigsegv
# Anyway the included version of libsigsegv should not be installed
# by smalltalk folks!
if pkginstalled libsigsegv; then
var_append extraconfopt ' ' "--with-system-libsigsegv=$(pkgprefix -r libdir libsigsegv)"
fi
if pkginstalled tk; then
tlibdir=`pkgprefix libdir tk`
var_append confopt ' ' "--with-tk=$tlibdir --with-tcl=$tlibdir"
fi
#gtk gui is really broken atm
#pkginstalled gtk+ && var_append confopt ' ' '--enable-gtk=blox'