pkgsrc-Changes archive

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

CVS commit: pkgsrc/math/isl



Module Name:    pkgsrc
Committed By:   micha
Date:           Mon Aug 30 11:53:45 UTC 2021

Added Files:
        pkgsrc/math/isl: inplace.mk

Log Message:
math/isl: Add inplace.mk file

Intended for gcc-inplace-math option of GCC packages.


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/math/isl/inplace.mk

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

Added files:

Index: pkgsrc/math/isl/inplace.mk
diff -u /dev/null pkgsrc/math/isl/inplace.mk:1.1
--- /dev/null   Mon Aug 30 11:53:45 2021
+++ pkgsrc/math/isl/inplace.mk  Mon Aug 30 11:53:45 2021
@@ -0,0 +1,19 @@
+# $NetBSD: inplace.mk,v 1.1 2021/08/30 11:53:45 micha Exp $
+#
+# Include this file to extract math/isl source into the WRKSRC of
+# another package. This is to be used by GCC packages to avoid the
+# numerous dependencies math/isl has.
+
+.PHONY: fetch-inplace-isl extract-inplace-isl
+post-fetch: fetch-inplace-isl
+
+post-extract: extract-inplace-isl
+
+fetch-inplace-isl:
+       (cd ../../math/isl && ${MAKE} WRKDIR=${WRKSRC}/.devel.isl EXTRACT_DIR=${WRKSRC} \
+               WRKSRC='$${EXTRACT_DIR}/$${DISTNAME}' SKIP_DEPENDS=YES checksum)
+
+extract-inplace-isl:
+       (cd ../../math/isl && ${MAKE} WRKDIR=${WRKSRC}/.devel.isl EXTRACT_DIR=${WRKSRC} \
+               WRKSRC='$${EXTRACT_DIR}/$${DISTNAME}' SKIP_DEPENDS=YES patch)
+       ${MV} ${WRKSRC}/isl-* ${WRKSRC}/isl



Home | Main Index | Thread Index | Old Index