aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorolivier <olivier@FreeBSD.org>2019-02-14 22:49:18 +0800
committerolivier <olivier@FreeBSD.org>2019-02-14 22:49:18 +0800
commit652838d99087b25cccbe4a5b8edab6bb83567d0a (patch)
treec003439aa2351be9b69847b5466f1dd808394fdd
parenta88255ffa76d7feeea61696d3e723fed70cd5133 (diff)
downloadfreebsd-ports-gnome-652838d99087b25cccbe4a5b8edab6bb83567d0a.tar.gz
freebsd-ports-gnome-652838d99087b25cccbe4a5b8edab6bb83567d0a.tar.zst
freebsd-ports-gnome-652838d99087b25cccbe4a5b8edab6bb83567d0a.zip
Fix compilation when TARGET_ARCH is set
PR: 225377 Approved by: Martin Waschbüsch (maintainer)
-rw-r--r--archivers/liblz4/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/archivers/liblz4/Makefile b/archivers/liblz4/Makefile
index 59a08ee1f04a..56ab6f7795f7 100644
--- a/archivers/liblz4/Makefile
+++ b/archivers/liblz4/Makefile
@@ -17,6 +17,8 @@ LICENSE_COMB= multi
USES= gmake pkgconfig
USE_GITHUB= yes
USE_LDCONFIG= yes
+
+MAKE_ENV+= TARGET_ARCH=
MAKE_ARGS= PREFIX="${PREFIX}" \
INSTALL_PROGRAM="${INSTALL_PROGRAM}" \
MANDIR="${MAN1PREFIX}/man"