diff options
author | Piotr Kubaj <pkubaj@FreeBSD.org> | 2020-10-14 08:17:14 +0000 |
---|---|---|
committer | Piotr Kubaj <pkubaj@FreeBSD.org> | 2020-10-14 08:17:14 +0000 |
commit | cff9697b7085735723c3be2917f6b8e09d3d887e (patch) | |
tree | f35c4e967a5c977d248c9e9f1c9121672bbf2ecc /sysutils/lsof/Makefile | |
parent | science/maeparser: Update 1.2.3 -> 1.2.4 (diff) |
sysutils/lsof: replace architecture check with compiler check
This issue happens only when GCC is in use, it doesn't happen with clang. Since the package changes, bump PORTREVISION.
This also fixes build on e.g. mips64 stable/12.
MFH: 2020Q4 (fix build blanket)
Notes
Notes:
svn path=/head/; revision=552314
Diffstat (limited to 'sysutils/lsof/Makefile')
-rw-r--r-- | sysutils/lsof/Makefile | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sysutils/lsof/Makefile b/sysutils/lsof/Makefile index d25279dbfbfd..a1dc423f27ca 100644 --- a/sysutils/lsof/Makefile +++ b/sysutils/lsof/Makefile @@ -6,7 +6,7 @@ PORTNAME= lsof DISTVERSION= 4.93.2 -PORTREVISION= 12 +PORTREVISION= 13 PORTEPOCH= 8 CATEGORIES= sysutils @@ -18,7 +18,7 @@ LICENSE_NAME= lsof LICENSE_FILE= ${FILESDIR}/LICENSE LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept -USES= shebangfix tar:bzip2 +USES= compiler shebangfix tar:bzip2 HAS_CONFIGURE= yes @@ -45,9 +45,9 @@ CONFIGURE_SCRIPT= Configure CONFIGURE_ARGS= -n freebsd CONFIGURE_ENV= LSOF_CC="${CC}" FREEBSD_SYS="${SRC_BASE}/sys" -# PPC64 needs -lzpool for reasons unknown. If someone can +# GCC needs -lzfs -lzpool for reasons unknown. If someone can # figure out why, I (ler) am all ears. -.if ${ARCH} == powerpc64 || ${ARCH} == powerpc +.if ${CHOSEN_COMPILER_TYPE} == gcc CONFIGURE_ENV+= LSOF_CFGL="-lzfs -lzpool" . endif |