sam: aarch64 & fix path.
This commit is contained in:
parent
093566bafd
commit
746365445e
|
@ -1,7 +1,7 @@
|
|||
# Template file for 'sam'
|
||||
pkgname=sam
|
||||
version=20150204
|
||||
revision=1
|
||||
revision=2
|
||||
wrksrc="${pkgname}"
|
||||
disable_parallel_build=yes
|
||||
makedepends="libXft-devel libXt-devel"
|
||||
|
@ -19,11 +19,11 @@ post_extract() {
|
|||
do_build() {
|
||||
case "$XBPS_TARGET_MACHINE" in
|
||||
i686*|armv*) USE64BITS=0;;
|
||||
x86_64*) USE64BITS=1;;
|
||||
x86_64*|aarch64*) USE64BITS=1;;
|
||||
*) msg_error "Unknown word length for $XBPS_TARGET_MACHINE";;
|
||||
esac
|
||||
|
||||
make ${makejobs} CC="${CC} ${CFLAGS} \$(SYSFLAGS)" \
|
||||
make ${makejobs} CC="${CC} ${CFLAGS} \$(SYSFLAGS)" DESTDIR=/usr \
|
||||
FREETYPEINC=${XBPS_CROSS_BASE}/usr/include/freetype2 \
|
||||
RXSAMNAME=rsam TERMNAME=/usr/bin/samterm USE64BITS=${USE64BITS}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue