biology/plink: Unbreak build on Darwin
Remove -lcrypt from link: macOS does not have libcrypt, but has crypt() in libc
This commit is contained in:
parent
a9de599f49
commit
dd6abbe058
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile,v 1.9 2020/10/12 21:51:58 bacon Exp $
|
||||
# $NetBSD: Makefile,v 1.10 2023/12/24 16:26:42 bacon Exp $
|
||||
|
||||
DISTNAME= plink-1.07-src
|
||||
PKGNAME= ${DISTNAME:-src=}
|
||||
|
@ -15,6 +15,11 @@ LICENSE= gnu-gpl-v2
|
|||
USE_LANGUAGES= c c++ fortran77
|
||||
USE_TOOLS+= gmake
|
||||
|
||||
SUBST_CLASSES.Darwin+= crypt
|
||||
SUBST_STAGE.crypt= pre-build
|
||||
SUBST_SED.crypt= -e 's|-lcrypt||g'
|
||||
SUBST_FILES.crypt= Makefile
|
||||
|
||||
CXXFLAGS+= -Dfopen64=fopen
|
||||
|
||||
MAKE_FLAGS+= LIBDL=${DL_LIBS:Q}
|
||||
|
|
Loading…
Reference in New Issue