cgit: Added cgit 0.7.3-c502865 - A CGI for git written in C
[opensde-package-nopast.git] / develop / fltk2 / fltk2.conf
blob1f1ac67416dc3e57c81efcac571712ecfe6ab21f
1 # --- SDE-COPYRIGHT-NOTE-BEGIN ---
2 # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
4 # Filename: package/.../fltk2/fltk2.conf
5 # Copyright (C) 2006 The OpenSDE Project
6 # Copyright (C) 2006 The T2 SDE Project
8 # More information can be found in the files COPYING and README.
10 # This program is free software; you can redistribute it and/or modify
11 # it under the terms of the GNU General Public License as published by
12 # the Free Software Foundation; version 2 of the License. A copy of the
13 # GNU General Public License can be found in the file COPYING.
14 # --- SDE-COPYRIGHT-NOTE-END ---
16 # Checking whether to build fltk static or shared
17 [ "$SDECFG_STATIC" == 0 ] && var_append confopt ' ' "--enable-shared"
19 fltk2_prepatch() {
20         # Remove both glut and test from the Makefile, since
21         # glut only contains some sample appsa and test is only
22         # needed for testing.
23         # test fails when building.
24         # glut fails when installing.
25         sed -i 's/glut test//' Makefile
28 hook_add prepatch 5 'fltk2_prepatch'