pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/biology/plink



Module Name:    pkgsrc
Committed By:   bacon
Date:           Sun Dec 24 16:26:42 UTC 2023

Modified Files:
        pkgsrc/biology/plink: Makefile

Log Message:
biology/plink: Unbreak build on Darwin

Remove -lcrypt from link:
macOS does not have libcrypt, but has crypt() in libc


To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 pkgsrc/biology/plink/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/biology/plink/Makefile
diff -u pkgsrc/biology/plink/Makefile:1.9 pkgsrc/biology/plink/Makefile:1.10
--- pkgsrc/biology/plink/Makefile:1.9   Mon Oct 12 21:51:58 2020
+++ pkgsrc/biology/plink/Makefile       Sun Dec 24 16:26:42 2023
@@ -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}



Home | Main Index | Thread Index | Old Index