You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
33 lines
1.1 KiB
33 lines
1.1 KiB
18 years ago
|
# --- SDE-COPYRIGHT-NOTE-BEGIN ---
|
||
|
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
|
||
17 years ago
|
#
|
||
18 years ago
|
# Filename: package/.../e-modules/e-modules.conf
|
||
18 years ago
|
# Copyright (C) 2006 - 2007 The OpenSDE Project
|
||
17 years ago
|
#
|
||
18 years ago
|
# More information can be found in the files COPYING and README.
|
||
17 years ago
|
#
|
||
18 years ago
|
# 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 ---
|
||
|
|
||
|
|
||
18 years ago
|
brokenmods="bling emu mail"
|
||
18 years ago
|
|
||
|
# function to disable modules
|
||
|
e_modules_disable() {
|
||
|
# removing the Makefile.am and touching an empty one
|
||
|
# to avoid building the broken modules
|
||
|
for mod in $brokenmods; do
|
||
|
echo_warning "Disabling broken module: $mod"
|
||
|
rm -rf $mod
|
||
17 years ago
|
done
|
||
18 years ago
|
}
|
||
|
|
||
18 years ago
|
# some modules seem to have problems finding their dependencies
|
||
|
var_append GCC_WRAPPER_APPEND ' ' "-I$root$( pkgprefix includedir libx11 )"
|
||
|
var_append GCC_WRAPPER_APPEND ' ' "-L$root$( pkgprefix libdir libx11 )"
|
||
18 years ago
|
|
||
|
hook_add prepatch 5 "e_modules_disable"
|