diff options
Diffstat (limited to 'libre/ogre-libre/PKGBUILD')
-rw-r--r-- | libre/ogre-libre/PKGBUILD | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/libre/ogre-libre/PKGBUILD b/libre/ogre-libre/PKGBUILD index 7e4692ab3..f91855322 100644 --- a/libre/ogre-libre/PKGBUILD +++ b/libre/ogre-libre/PKGBUILD @@ -70,7 +70,7 @@ mksource() { patch -Np1 -i $srcdir/libre.patch } -build() { +prepare() { cd ${pkgbase} # add symlinks to point to mesa header files @@ -80,6 +80,10 @@ build() { ln -sv /usr/include/GL/wglext.h wglext.h ln -sv /usr/include/GL/glxtokens.h glxtokens.h ln -sv /usr/include/GL/glxext.h glxext.h +} + +build() { + cd ${pkgbase} # get a clean build dir [[ -d build ]] && rm -vrf build @@ -122,7 +126,8 @@ build() { -D${pkgbase^^}_LIB_DIRECTORY=lib\ -D${pkgbase^^}_PROFILING=TRUE\ -D${pkgbase^^}_USE_BOOST=TRUE - make V=0 +# make V=0 + make } package_ogre-libre() { |