Sun Mar 28 03:00:18 2021 UTC ()
(devel/pointfree) +.include hs-haskell-src-exts/buildlink3.mk


(mef)
diff -r1.1 -r1.2 pkgsrc/devel/pointfree/Makefile

cvs diff -r1.1 -r1.2 pkgsrc/devel/pointfree/Makefile (expand / switch to unified diff)

--- pkgsrc/devel/pointfree/Makefile 2021/03/14 09:15:43 1.1
+++ pkgsrc/devel/pointfree/Makefile 2021/03/28 03:00:17 1.2
@@ -1,29 +1,30 @@ @@ -1,29 +1,30 @@
1# $NetBSD: Makefile,v 1.1 2021/03/14 09:15:43 pho Exp $ 1# $NetBSD: Makefile,v 1.2 2021/03/28 03:00:17 mef Exp $
2# 2#
3 3
4DISTNAME= pointfree-1.1.1.7 4DISTNAME= pointfree-1.1.1.7
5PKGNAME= ${DISTNAME} 5PKGNAME= ${DISTNAME}
6CATEGORIES= devel 6CATEGORIES= devel
7 7
8MAINTAINER= pho@cielonegro.org 8MAINTAINER= pho@cielonegro.org
9COMMENT= Convert Haskell expressions to pointfree form 9COMMENT= Convert Haskell expressions to pointfree form
10LICENSE= mit 10LICENSE= mit
11 11
12# "pointfree.cabal" declares an empty library (exposing no symbols at 12# "pointfree.cabal" declares an empty library (exposing no symbols at
13# all), and the executable doesn't depend on the library either. This 13# all), and the executable doesn't depend on the library either. This
14# is not only pointless, but also makes Cabal do a weird thing 14# is not only pointless, but also makes Cabal do a weird thing
15# possibly due to a bug: it embeds an rpath to the *build directory* 15# possibly due to a bug: it embeds an rpath to the *build directory*
16# which serves absolutely no purpose. Disable the library as a 16# which serves absolutely no purpose. Disable the library as a
17# workaround. 17# workaround.
18SUBST_CLASSES+= 1 18SUBST_CLASSES+= 1
19SUBST_STAGE.1= post-extract 19SUBST_STAGE.1= post-extract
20SUBST_FILES.1= pointfree.cabal 20SUBST_FILES.1= pointfree.cabal
21SUBST_SED.1= -e "s|Library|Library+ buildable: False|" 21SUBST_SED.1= -e "s|Library|Library+ buildable: False|"
22 22
23SUBST_CLASSES+= 2 23SUBST_CLASSES+= 2
24SUBST_STAGE.2= pre-configure 24SUBST_STAGE.2= pre-configure
25SUBST_FILES.2= pointfree.cabal 25SUBST_FILES.2= pointfree.cabal
26SUBST_FILTER_CMD.2= ${TR} '+' \\n 26SUBST_FILTER_CMD.2= ${TR} '+' \\n
27 27
 28.include "../../devel/hs-haskell-src-exts/buildlink3.mk"
28.include "../../mk/haskell.mk" 29.include "../../mk/haskell.mk"
29.include "../../mk/bsd.pkg.mk" 30.include "../../mk/bsd.pkg.mk"