-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Removed split-base flag. Simplified build-depends. Bumped version to …
…2.5.0.2.
- Loading branch information
Showing
1 changed file
with
2 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
name: GLUT | ||
version: 2.5.0.1 | ||
version: 2.5.0.2 | ||
license: BSD3 | ||
license-file: LICENSE | ||
maintainer: Sven Panne <[email protected]>, Jason Dagit <[email protected]> | ||
|
@@ -133,8 +133,6 @@ extra-source-files: | |
examples/examples.mk | ||
include/HsGLUTExt.h | ||
|
||
flag split-base | ||
|
||
flag UseNativeWindowsLibraries | ||
description: | ||
When compiling under Windows, use the native libraries instead of e.g. the | ||
|
@@ -171,11 +169,7 @@ library | |
include-dirs: include | ||
c-sources: | ||
cbits/HsGLUT.c | ||
if flag(split-base) | ||
build-depends: base >= 3 && < 5, array >= 0.3 && < 0.5, containers >= 0.3 && < 0.6 | ||
else | ||
build-depends: base < 3 | ||
build-depends: OpenGL >= 2.8.0.0, OpenGLRaw >= 1.3.0.0 | ||
build-depends: base >= 3 && < 5, array >= 0.3, containers >= 0.3, OpenGL >= 2.8.0.0, OpenGLRaw >= 1.3.0.0 | ||
ghc-options: -Wall -O2 | ||
if os(windows) && flag(UseNativeWindowsLibraries) | ||
if arch(i386) | ||
|