diff options
author | oli | 2015-12-11 11:18:37 +0100 |
---|---|---|
committer | oli | 2015-12-11 11:18:37 +0100 |
commit | b28e3f02c32ed13ed23cf20de6bd974cd8966324 (patch) | |
tree | 89bbe576975a6590eee5b0ddaa4affe5dcbd52de | |
parent | 16e60e0a78c54896cb731f544c5ac1658f535142 (diff) | |
download | aur-b28e3f02c32ed13ed23cf20de6bd974cd8966324.tar.gz |
hopefully fixed building on 64bit arch
-rw-r--r-- | .SRCINFO | 8 | ||||
-rw-r--r-- | PKGBUILD | 8 | ||||
-rw-r--r-- | x86_64-configure.patch | 17 |
3 files changed, 27 insertions, 6 deletions
@@ -1,9 +1,9 @@ # Generated by mksrcinfo v8 -# Fri Dec 11 10:10:38 UTC 2015 +# Fri Dec 11 10:18:32 UTC 2015 pkgbase = bennugd-core pkgdesc = a programming language to create games (Fenix successor) - core pkgver = 325 - pkgrel = 2 + pkgrel = 3 url = http://sourceforge.net/projects/bennugd/ arch = i686 arch = x86_64 @@ -11,7 +11,9 @@ pkgbase = bennugd-core depends = libdes depends = openssl source = http://sourceforge.net/code-snapshots/svn/b/be/bennugd/code/bennugd-code-325.zip - md5sums = 212a258c03125695e617e0bb08a96c51 + source = x86_64-configure.patch + md5sums = 665cb80d1b93cd552e04c2e55c3992d0 + md5sums = bee8ea76634b5e0dbaf29c9b6d3b147f pkgname = bennugd-core @@ -2,19 +2,21 @@ pkgname=bennugd-core pkgver=325 -pkgrel=2 +pkgrel=3 pkgdesc="a programming language to create games (Fenix successor) - core" arch=('i686' 'x86_64') url="http://sourceforge.net/projects/bennugd/" license=('GPL') depends=('libdes' 'openssl') -source=("http://sourceforge.net/code-snapshots/svn/b/be/bennugd/code/bennugd-code-${pkgver}.zip") -md5sums=('212a258c03125695e617e0bb08a96c51') +source=("http://sourceforge.net/code-snapshots/svn/b/be/bennugd/code/bennugd-code-${pkgver}.zip" x86_64-configure.patch) +md5sums=('665cb80d1b93cd552e04c2e55c3992d0' + 'bee8ea76634b5e0dbaf29c9b6d3b147f') build() { cd $srcdir/bennugd-code-${pkgver}/core chmod +x ./configure ./configure --prefix=/usr + patch -p0 -i $srcdir/x86_64-configure.patch #find . -name Makefile -print0 | xargs -0 sed -i 's/--as-needed//' make } diff --git a/x86_64-configure.patch b/x86_64-configure.patch new file mode 100644 index 000000000000..d4867e9ee78a --- /dev/null +++ b/x86_64-configure.patch @@ -0,0 +1,17 @@ +--- configure 2013-01-06 01:50:56.000000000 +0000 ++++ configure.new 2015-12-11 10:14:12.588619177 +0000 +@@ -11247,6 +11247,13 @@ + USE_OPENSSL=yes + ;; + ++ x86_64) ++ COMMON_CFLAGS="$COMMON_CFLAGS -DUSE_OPENSSL" ++ COMMON_LDFLAGS="$COMMON_LDFLAGS" ++ LIBSSL="crypto" ++ USE_OPENSSL=yes ++ ;; ++ + arm) + COMMON_CFLAGS="$COMMON_CFLAGS -DUSE_LIBDES $CFLAGS -I`pwd`/../3rdparty/des-4.04b" + COMMON_LDFLAGS="$COMMON_LDFLAGS $LDFLAGS -L`pwd`/../3rdparty/des-4.04b -ldes" + |