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.
32 lines
1.1 KiB
32 lines
1.1 KiB
# --- SDE-COPYRIGHT-NOTE-BEGIN --- |
|
# This copyright note is auto-generated by ./scripts/Create-CopyPatch. |
|
# |
|
# Filename: package/.../e-modules/e-modules.conf |
|
# Copyright (C) 2006 - 2007 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 --- |
|
|
|
|
|
brokenmods="bling emu mail" |
|
|
|
# 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 |
|
done |
|
} |
|
|
|
# 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 )" |
|
|
|
hook_add prepatch 5 "e_modules_disable"
|
|
|