pkgsrc-Changes archive

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

CVS commit: pkgsrc/mk



Module Name:    pkgsrc
Committed By:   pho
Date:           Thu Jan  2 16:45:16 UTC 2020

Modified Files:
        pkgsrc/mk: haskell.mk

Log Message:
Be explicit about shared libraries

Recent versions of Cabal appears to build shared libraries by default unless --disable-shared is explicitly given.


To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 pkgsrc/mk/haskell.mk

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

Modified files:

Index: pkgsrc/mk/haskell.mk
diff -u pkgsrc/mk/haskell.mk:1.9 pkgsrc/mk/haskell.mk:1.10
--- pkgsrc/mk/haskell.mk:1.9    Thu Jan  2 16:34:47 2020
+++ pkgsrc/mk/haskell.mk        Thu Jan  2 16:45:15 2020
@@ -1,4 +1,4 @@
-# $NetBSD: haskell.mk,v 1.9 2020/01/02 16:34:47 pho Exp $
+# $NetBSD: haskell.mk,v 1.10 2020/01/02 16:45:15 pho Exp $
 #
 # This Makefile fragment handles Haskell Cabal packages.
 # See: http://www.haskell.org/cabal/
@@ -173,11 +173,15 @@ CONFIGURE_ARGS+=  --prefix=${PREFIX:Q}
 # Shared libraries
 .if ${HASKELL_ENABLE_SHARED_LIBRARY} == "yes"
 CONFIGURE_ARGS+=       --enable-shared --enable-executable-dynamic
+.else
+CONFIGURE_ARGS+=       --disable-shared --disable-executable-dynamic
 .endif
 
 # Library profiling
 .if ${HASKELL_ENABLE_LIBRARY_PROFILING} == "yes"
-CONFIGURE_ARGS+=       -p
+CONFIGURE_ARGS+=       --enable-library-profiling
+.else
+CONFIGURE_ARGS+=       --disable-library-profiling
 .endif
 
 



Home | Main Index | Thread Index | Old Index