summaryrefslogtreecommitdiff
path: root/libre/ogre-libre/PKGBUILD
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@parabola.nu>2014-03-29 15:56:17 -0300
committerAndré Fabian Silva Delgado <emulatorman@parabola.nu>2014-03-29 16:45:21 -0300
commit05cbaa31628d7efb49ed05ebdf34fa357460fc95 (patch)
tree831b2e725d0423d96682b78850ede3c1e942d538 /libre/ogre-libre/PKGBUILD
parent349043c2f695b6c49d678776255f06cde756ff28 (diff)
downloadabslibre-05cbaa31628d7efb49ed05ebdf34fa357460fc95.tar.gz
abslibre-05cbaa31628d7efb49ed05ebdf34fa357460fc95.tar.bz2
abslibre-05cbaa31628d7efb49ed05ebdf34fa357460fc95.zip
ogre-libre: move mesa header symlinks to prepare function
Diffstat (limited to 'libre/ogre-libre/PKGBUILD')
-rw-r--r--libre/ogre-libre/PKGBUILD9
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() {