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: rillig
Date: Wed Jul 1 15:07:25 UTC 2020
Modified Files:
pkgsrc/mk: haskell.mk
Log Message:
mk/haskell.mk: clean up _VARGROUPS section and unused variables
To generate a diff of this commit:
cvs rdiff -u -r1.26 -r1.27 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.26 pkgsrc/mk/haskell.mk:1.27
--- pkgsrc/mk/haskell.mk:1.26 Wed Jul 1 14:58:43 2020
+++ pkgsrc/mk/haskell.mk Wed Jul 1 15:07:25 2020
@@ -1,4 +1,4 @@
-# $NetBSD: haskell.mk,v 1.26 2020/07/01 14:58:43 rillig Exp $
+# $NetBSD: haskell.mk,v 1.27 2020/07/01 15:07:25 rillig Exp $
#
# This Makefile fragment handles Haskell Cabal packages.
# Package configuration, building, installation, registration and
@@ -56,21 +56,37 @@ _VARGROUPS+= haskell
_USER_VARS.haskell= \
HASKELL_ENABLE_SHARED_LIBRARY \
HASKELL_ENABLE_LIBRARY_PROFILING \
- HASKELL_ENABLE_HADDOCK_DOCUMENTATION
+ HASKELL_ENABLE_HADDOCK_DOCUMENTATION \
+ HS_UPDATE_PLIST
_SYS_VARS.haskell= \
PKGNAME DISTNAME MASTER_SITES MASTER_SITE_HASKELL_HACKAGE \
HOMEPAGE UNLIMIT_RESOURCES PREFIX
_DEF_VARS.haskell= \
HASKELL_OPTIMIZATION_LEVEL \
HASKELL_PKG_NAME \
+ USE_LANGUAGES \
+ CONFIGURE_ARGS \
+ PLIST_SUBST \
+ PRINT_PLIST_AWK \
+ GENERATE_PLIST \
+ PLIST_SRC \
+ FILES_SUBST \
+ INSTALLATION_DIRS \
+ INSTALL_TEMPLATES \
+ DEINSTALL_TEMPLATES \
_HASKELL_VERSION_CMD \
_HASKELL_BIN \
_HASKELL_PKG_BIN \
_HASKELL_PKG_DESCR_FILE \
_HASKELL_PKG_ID_FILE \
_HASKELL_VERSION
+_USE_VARS.haskell= \
+ PKG_VERBOSE \
+ BUILDLINK_PREFIX.ghc \
+ PKGDIR DESTDIR \
+ WRKSRC
_IGN_VARS.haskell= \
- USE_TOOLS _*
+ USE_TOOLS CONFIGURE_ENV MAKE_ENV WARNINGS _*
PKGNAME?= hs-${DISTNAME}
MASTER_SITES?= ${MASTER_SITE_HASKELL_HACKAGE:=${DISTNAME}/}
@@ -97,10 +113,6 @@ _HASKELL_PKG_BIN= ${BUILDLINK_PREFIX.ghc
_HASKELL_VERSION_CMD= ${_HASKELL_BIN} -V 2>/dev/null | ${CUT} -d ' ' -f 8
_HASKELL_VERSION= ghc-${_HASKELL_VERSION_CMD:sh}
-# Determine GHC shlib suffix
-_HASKELL_SHLIB_SUFFIX.dylib= dylib
-_HASKELL_SHLIB_SUFFIX= ${_HASKELL_SHLIB_SUFFIX.${SHLIB_TYPE}:Uso}
-
# GHC requires C compiler.
USE_LANGUAGES+= c
@@ -176,12 +188,12 @@ PRINT_PLIST_AWK+= ${exists(${DESTDIR}${_
.if ${_HS_PLIST_STATUS} == missing || ${_HS_PLIST_STATUS} == outdated
. if ${HS_UPDATE_PLIST} == yes
-GENERATE_PLIST+= ${MAKE} print-PLIST > ${PKGDIR}/PLIST;
+GENERATE_PLIST+= ${MAKE} print-PLIST > ${PKGDIR}/PLIST;
. endif
-GENERATE_PLIST+= \
+GENERATE_PLIST+= \
cd ${DESTDIR:Q}${PREFIX:Q} && \
${FIND} * \( -type f -o -type l \) | ${SORT};
-PLIST_SRC= # none
+PLIST_SRC= # none
.endif
.if ${_HS_PLIST_STATUS} == outdated && ${HS_UPDATE_PLIST} == no
Home |
Main Index |
Thread Index |
Old Index