Ticket #52551: ghc-and-deps-to-8.diff
File ghc-and-deps-to-8.diff, 61.6 KB (added by neverpanic (Clemens Lang), 8 years ago) |
---|
-
_resources/port1.0/group/haskell-1.0.tcl
53 53 # updates. 54 54 array set haskell.compiler_configuration { 55 55 ghc {port ghc 56 version 7.8.356 version 8.0.1 57 57 compiler ${prefix}/bin/ghc 58 58 ghc-pkg ${prefix}/bin/ghc-pkg} 59 59 } -
devel/haskell-platform/Portfile
6 6 name haskell-platform 7 7 8 8 if {$subport == $name} { 9 version 2014.2.0.09 version 8.0.1 10 10 categories devel haskell 11 11 maintainers cal openmaintainer 12 12 description \ … … 118 118 # Additional Platform Libraries # 119 119 ################################# 120 120 121 haskell_platform_port async 2. 0.1.5 1{122 checksums rmd160 0ec360bc373c4ca0b3c7617ec611f2414804e9cd\123 sha256 cd13ac558f4f63e567100805770648e89307a3210852b17038c9be4fcc3aa83c121 haskell_platform_port async 2.1.0 0 { 122 checksums rmd160 6b82f7ecc2b76b795b3a75860f741556b977e830 \ 123 sha256 93c37611f9c68b5cdc8cd9960ae77a7fbc25da83cae90137ef1378d857f22c2f 124 124 125 125 depends_lib-append port:hs-stm 126 126 … … 138 138 automatically killed when their parent dies (see withAsync). 139 139 } 140 140 141 haskell_platform_port attoparsec 0.1 0.4.0 4{142 checksums rmd160 1fc9845e60fb0cddc9ffa8838c446b3046cd3522\143 sha256 b6b84e0dbd1c3beec1dedea578ac2f4d62afbe66b383582b7b3349406866d346141 haskell_platform_port attoparsec 0.13.0.2 0 { 142 checksums rmd160 93333785e4716309332b659d2b789cac4bbf7d48 \ 143 sha256 69f7f381f644ba4a6f348bbff9b2b4280b7b602e8e25e59eadb6e30ad5f2ec6a 144 144 145 depends_lib-append port:hs-text 145 depends_lib-append port:hs-text \ 146 port:hs-scientific 146 147 147 148 description Fast combinator parsing for bytestrings and text 148 149 long_description \ … … 151 152 formats. 152 153 } 153 154 154 haskell_platform_port case-insensitive 1. 1.0.3 1{155 checksums rmd160 351ebf0ae84c4c580b910dbd3ed0828b309874c7\156 sha256 7b255fe63155d53ab84b248ab5ba9306fd4bec47a6198e3275cf9cb41c4d263b155 haskell_platform_port case-insensitive 1.2.0.6 0 { 156 checksums rmd160 bc4b78cc1c8e812ea243453f26e0bb4697d68d96 \ 157 sha256 bc7b53517fefc475311bfe6dbab8ade47ab8df11a59079653aa3271e9ffcb1c4 157 158 158 159 depends_lib-append port:hs-hashable \ 159 160 port:hs-text … … 166 167 insensitive to cases. 167 168 } 168 169 169 haskell_platform_port fgl 5.5. 0.1 1{170 checksums rmd160 c6c1f89db51d8d3ce6687dab13109c7f40c9c10c\171 sha256 aa61664ba38db3e54124b702b1ee92a72a569c981b759e48cfb567078b038763170 haskell_platform_port fgl 5.5.2.3 0 { 171 checksums rmd160 8371f511eadac788974737f0fad7ec157eadc4b3 \ 172 sha256 f4113b5221917feb6389494bf8b7b6221ee00f322b6c25fc25a25795549f9e20 172 173 173 174 depends_lib-append port:hs-mtl 174 175 … … 176 177 long_description ${description} 177 178 } 178 179 179 haskell_platform_port GLUT 2.5.1.1 1 { 180 checksums rmd160 b6e4bad4109307a614c3ba93aa1f3f8857ae45dc \ 181 sha256 4a8177e154ead5a7bcc110f8fe408f9cf720783dde024ac1936cd95b659b2d59 182 183 depends_lib-append port:hs-opengl 180 haskell_platform_port fixed 0.2.1.1 0 { 181 checksums rmd160 0efb4f13fc43f916ffa50247902af6f12010e71e \ 182 sha256 24a9e1e251998c9d06037bb771d9eab2980a91132de59a19d0166a1c51e715e2 184 183 185 description A binding for the OpenGL Utility Toolkit 186 long_description \ 187 A Haskell binding for the OpenGL Utility Toolkit, a window system \ 188 independent toolkit for writing OpenGL programs. 184 description Signed 15.16 precision fixed point arithmetic 185 long_description ${description} 189 186 } 190 187 191 haskell_platform_port GLURaw 1.4.0.1 1{192 checksums rmd160 1fa7a906c6f99d9540b200de038a2a734e576cea \193 sha256 9655644beb54ff8fac68f2e0fd8a8e9a1e8409272e2e4c963ccce9bcd60e0ecc188 haskell_platform_port GLURaw 2.0.0.1 0 { 189 checksums rmd160 309220ac689d5576e99be29bd2a54c2affae730a \ 190 sha256 d561b2e170e6048f7f1b18647fa569f28684291e25924b41f169ecfdc281ab40 194 191 195 192 depends_lib-append port:hs-openglraw 196 193 … … 201 198 a nicer interface. 202 199 } 203 200 204 haskell_platform_port hashable 1.2.2.0 1 { 205 checksums rmd160 33f9040f2afcb93d6475d8872aef4c164a4cff5e \ 206 sha256 033a90b0369af59bf922d0c2af8d73a18432b46b0a47607f436d38f873a88e21 201 haskell_platform_port GLUT 2.7.0.7 0 { 202 checksums rmd160 cff3ad049dbb6b49738b27833ce9217abafa9ca0 \ 203 sha256 3a9f292f6a417c90f39065c7e0d441798b99276ccdd1c0f3feff50955b937c93 204 205 depends_lib-append port:hs-opengl 206 207 description A binding for the OpenGL Utility Toolkit 208 long_description \ 209 A Haskell binding for the OpenGL Utility Toolkit, a window system \ 210 independent toolkit for writing OpenGL programs. 211 } 212 213 haskell_platform_port half 0.2.2.3 0 { 214 checksums rmd160 25b4611e534af7fdbbf65fd5e4e1af69e2065048 \ 215 sha256 85c244c80d1c889a3d79073a6f5a99d9e769dbe3c574ca11d992b2b4f7599a5c 216 217 description Half-precision floating-point 218 long_description ${description} 219 } 220 221 haskell_platform_port hashable 1.2.4.0 0 { 222 checksums rmd160 cfca5318aa0394cb4573b39f0b42e067c1b6e9a8 \ 223 sha256 fb9671db0c39cd48d38e2e13e3352e2bf7dfa6341edfe68789a1753d21bb3cf3 207 224 208 225 depends_lib-append port:hs-text 209 226 … … 215 232 a way to combine hash values. 216 233 } 217 234 218 haskell_platform_port haskell-src 1.0. 1.6 1{219 checksums rmd160 649a0f9f116cb90f03411a9e8d53b17409c38134\220 sha256 c7c556366025d9895d1110ecfa30a29e29d7d0a8cb447716fe601e4ff5da4cef235 haskell_platform_port haskell-src 1.0.2.0 0 { 236 checksums rmd160 d948608604247fd77a3fa4b3041e9da89ced36f6 \ 237 sha256 2a25ee5729230edddb94af8d9881efbc1d8798bd316097f4646749cb2fa491a6 221 238 239 depends_build-append port:hs-happy 222 240 depends_lib-append port:hs-syb 223 241 224 242 description Support for manipulating Haskell source code … … 229 247 of this package are to parse or generate Haskell 98 code. 230 248 } 231 249 232 haskell_platform_port html 1.0.1.2 6{250 haskell_platform_port html 1.0.1.2 7 { 233 251 checksums rmd160 55d95a42c297c9c4b0b0c3bbd077a5ed59e48878 \ 234 252 sha256 0c35495ea33d65e69c69bc7441ec8e1af69fbb43433c2aa3406c0a13a3ab3061 235 253 … … 238 256 This package contains a combinator library for constructing HTML documents. 239 257 } 240 258 241 haskell_platform_port HTTP 4000. 2.10 1{242 checksums rmd160 b1e3a1aec27c3e09fe1f93f93ab717cc4e576504 \243 sha256 efde6d9f2e8cd7b72068579f0a75449703c0fa7aee76dfc0f3af175295a127d1259 haskell_platform_port HTTP 4000.3.3 0 { 260 checksums rmd160 cb0c32394df7986a4b91534ccf3026a07c3d59c4 \ 261 sha256 bbada3c2088dc1384234cdbc1bb6089ea588da068a6a38878ea259dd19de9bf2 244 262 245 263 depends_lib-append port:hs-network \ 246 port:hs- mtl\247 port:hs- parsec264 port:hs-network-uri \ 265 port:hs-mtl 248 266 249 267 description A library for client-side HTTP 250 268 long_description \ … … 255 273 the implementation is all written in Haskell. 256 274 } 257 275 258 haskell_platform_port HUnit 1. 2.5.2 3{259 checksums rmd160 f6ac9ac12c152609174ea80a3a0c694210c81594\260 sha256 0af5ad34dba27de48b94ce6d5f7ee3aa6af6183bdc4a3967b811e28520369a41276 haskell_platform_port HUnit 1.3.1.1 0 { 277 checksums rmd160 0198586d9234183b90f82dbce709f9355875ad2e \ 278 sha256 93e5fc4290ab685b469209f04d9858338ffff486e15c23a11260c47e32da8ef8 261 279 262 280 description A unit testing framework for Haskell 263 281 long_description \ … … 265 283 tool for Java, see: http://www.junit.org. 266 284 } 267 285 268 haskell_platform_port mtl 2.1.3.1 1 { 269 checksums rmd160 f6432fb7e64d66eff69f02ccca9fc30ac5dce502 \ 270 sha256 77af766957fb49361fe63446f272a698bddb13398669edc363022e5c2517f6f6 286 haskell_platform_port mtl 2.2.1 0 { 287 patch.pre_args -p1 288 patchfiles 59498406a6338d93891dec3abcbdde2cb7e41325.patch 289 290 checksums rmd160 61f2af56029c85c40a66a04cbd8ff1b97e0f90d9 \ 291 sha256 cae59d79f3a16f8e9f3c9adc1010c7c6cdddc73e8a97ff4305f6439d855c8dc5 271 292 272 293 description Monad classes, using functional dependencies 273 294 long_description \ … … 277 298 School of Functional Programming, 1995 278 299 } 279 300 280 haskell_platform_port network 2. 4.2.3 1{281 checksums rmd160 3 8f20be22e51a902a00416bad1e63480316e8348\282 sha256 801b9c652dae626bf4a96175162b1290e7fe7ff20d802d62434d5ae1d363c16d301 haskell_platform_port network 2.6.2.1 0 { 302 checksums rmd160 3bcc893f68ca44f71cffedd95464ad0217b451c2 \ 303 sha256 a3fda15c9bbe2c7274d97f40398c6cf8d1d3a9fe896fbf6531e1bfc849bb1bfa 283 304 284 305 depends_lib-append port:hs-parsec 285 306 … … 287 308 long_description ${description} 288 309 } 289 310 290 haskell_platform_port OpenGL 2.9.2.0 1 { 291 checksums rmd160 b238630bd16d37485c58835a643d965ac6c61ef2 \ 292 sha256 1758f6cacc9ea8f0d410fd0abc1a19f2a50dffdb62736d66d4e62b20619545e9 311 haskell_platform_port network-uri 2.6.1.0 0 { 312 checksums rmd160 591880177d5a19fad3a62c5b61af3e9e33cea94f \ 313 sha256 423e0a2351236f3fcfd24e39cdbc38050ec2910f82245e69ca72a661f7fc47f0 314 315 depends_lib-append port:hs-parsec 316 317 description URI manipulation 318 long_description \ 319 This package provides an URI manipulation interface. 320 } 321 322 haskell_platform_port ObjectName 1.1.0.1 0 { 323 checksums rmd160 53d05e3d9dc597b41f152288ae9b0754f4067b8d \ 324 sha256 72dbef237580fd4e8567de2de752835bbadd3629f486d1586486d49a49aad210 325 326 description Explicitly handled object names 327 long_description \ 328 This tiny package contains the class ObjectName, which corresponds to \ 329 the general notion of explicitly handled identifiers for API objects, \ 330 e.g. a texture object name in OpenGL or a buffer object name in OpenAL. 331 } 332 333 haskell_platform_port OpenGL 3.0.0.2 0 { 334 checksums rmd160 ed26ed24240cd8ecca1ba7d0c2e8eb5800146475 \ 335 sha256 13ee4a24d7caad61d3b63146be6620b523bde5b79f223c291f9f25ae9fd9681a 293 336 294 337 depends_lib-append port:hs-gluraw \ 338 port:hs-objectname \ 295 339 port:hs-openglraw \ 340 port:hs-statevar \ 296 341 port:hs-text 297 342 298 343 description A binding for the OpenGL graphics system … … 301 346 its accompanying utility library (GLU, version 1.3). 302 347 } 303 348 304 haskell_platform_port OpenGLRaw 1.5.0.0 1 { 305 checksums rmd160 6ede61cb59090ede7d3ec1df41311a8e14496080 \ 306 sha256 852aa5229722269d70daed3c04b95e9dc7b7013efd62ebc4f2873a81768b9a12 349 haskell_platform_port OpenGLRaw 3.1.0.0 0 { 350 checksums rmd160 a975c57257dc9302d95a62a9bd95e266af7164ad \ 351 sha256 414364cacce1c7601c93b388dbb73c5bdc76e5b0f3754ee61d0a5b94ccf9f3ce 352 353 depends_lib-append port:hs-fixed \ 354 port:hs-half \ 355 port:hs-text 307 356 308 357 description A raw binding for the OpenGL graphics system 309 358 long_description \ … … 319 368 thrown. 320 369 } 321 370 322 haskell_platform_port parallel 3.2. 0.4 1{323 checksums rmd160 4bc31de0b3dd63ca8d24c967f32a2ee40f0a2d64\324 sha256 8cdb637fc04e4dd62f9deb0fe3c191b8068526009960f297f54dc9cf5616146d371 haskell_platform_port parallel 3.2.1.0 0 { 372 checksums rmd160 1401fc3ec776251484ca3238301785fc746c7387 \ 373 sha256 4de3cdbb71dfd13cbb70a1dc1d1d5cf34fbe9828e05eb02b3dc658fdc2148526 325 374 326 375 description Parallel programming library 327 376 long_description This package provides a library for parallel programming. 328 377 } 329 378 330 haskell_platform_port parsec 3.1. 5 1{331 checksums rmd160 4d27dffd266c38cc3266ea17b792e00f180b3968\332 sha256 c572245d72bc3aff3491ce4f89215fcaa1e01c5e7b280d4c105a87db31793cb8379 haskell_platform_port parsec 3.1.9 0 { 380 checksums rmd160 366255e648b0b9e20a555e942c71f53014a5a513 \ 381 sha256 71f711d24c89581a43b8bc2d3ed56a1a802bbf1cd0b083bc34636c232b0342c9 333 382 334 383 depends_lib-append port:hs-mtl \ 335 384 port:hs-text … … 343 392 monads, and it is also parametric in the input stream type. 344 393 } 345 394 346 haskell_platform_port primitive 0.5.2.1 1 { 347 checksums rmd160 b456047baa641acc897a871cc2212f9f3a2c576f \ 348 sha256 0e516b81c2ef2c96d47dc40561663cc2cbfece0f135948e77e9b53025ff1c3ee 395 haskell_platform_port primitive 0.6.1.0 0 { 396 patch.pre_args -p1 397 patchfiles 0359ea15842d4e6bef27c0d621964507e4bfd219.patch \ 398 83d3d23d2fa1583ecd1b59464cc889924e1b5fff.patch \ 399 1af89788d5c9ab7a0a93ff6764e1770e6c80d957.patch 400 401 checksums rmd160 001324da6b15c9220304ab23d0cba166fa3e19d9 \ 402 sha256 93731fa72eaf74e8e83453f080828e18cec9fbc82bee91b49ba8b61c043d38c8 349 403 350 404 description Primitive memory-related operations 351 405 long_description This package provides various primitive memory-related operations. 352 406 } 353 407 354 haskell_platform_port QuickCheck 2.6 3 { 355 checksums rmd160 94bab2dcefdd7a6eddd5af7211db1babf39e0df8 \ 356 sha256 8001c00a1892714d914e5007ba72cdd428c1ea4c6b8418c6cb5e7809753d970d 408 haskell_platform_port QuickCheck 2.8.2 0 { 409 checksums rmd160 d6aefde8860096ec06d66bbe1f2c451229aedb6b \ 410 sha256 98c64de1e2dbf801c54dcdcb8ddc33b3569e0da38b39d711ee6ac505769926aa 411 412 depends_lib-append port:hs-tf-random 357 413 358 depends_lib-append port:hs-random414 configure.args-append -f base4point8 359 415 360 416 description Automatic testing of Haskell programs 361 417 long_description \ … … 365 421 that the properties hold in a large number of randomly generated cases. 366 422 } 367 423 368 haskell_platform_port random 1. 0.1.1 5{369 checksums rmd160 a13a4d7fefd15611cf863f11caf212efede320c3\370 sha256 df7c3b405de0ac27a2ee8fdc8dad87cb42e8eac01fef53861e43bc47c8111559424 haskell_platform_port random 1.1 0 { 425 checksums rmd160 483867e6a218fd5aee0ed5156c81b90169de9fd1 \ 426 sha256 b718a41057e25a3a71df693ab0fe2263d492e759679b3c2fea6ea33b171d3a5a 371 427 372 428 description random number library 373 429 long_description \ … … 375 431 the ability to split random number generators. 376 432 } 377 433 378 haskell_platform_port regex-base 0.93.2 5{434 haskell_platform_port regex-base 0.93.2 6 { 379 435 checksums rmd160 c009e193dd453666c7c3b585a25f3a8add7ec6b6 \ 380 436 sha256 20dc5713a16f3d5e2e6d056b4beb9cfdc4368cd09fd56f47414c847705243278 381 437 … … 385 441 long_description Interface API for regex-posix,pcre,parsec,tdfa,dfa 386 442 } 387 443 388 haskell_platform_port regex-compat 0.95.1 5{444 haskell_platform_port regex-compat 0.95.1 6 { 389 445 checksums rmd160 b2fe02ca3c4e9027b2d433c8a265b19a85c8bd17 \ 390 446 sha256 d57cb1a5a4d66753b18eaa37a1621246f660472243b001894f970037548d953b 391 447 … … 396 452 long_description One module layer over regex-posix to replace Text.Regex 397 453 } 398 454 399 haskell_platform_port regex-posix 0.95.2 4{455 haskell_platform_port regex-posix 0.95.2 5 { 400 456 checksums rmd160 7ee59eb760bb8c0c7fe17e17d90eb0623b9fd5bb \ 401 457 sha256 56019921cd4a4c9682b81ec614236fea816ba8ed8785a1640cd66d8b24fc703e 402 458 … … 406 462 long_description The posix regex backend for regex-base 407 463 } 408 464 409 haskell_platform_port split 0.2.2 3 { 410 checksums rmd160 7d4fe221283836386807f0e73a90df1255061f6f \ 411 sha256 f9cf9e571357f227aed5be9a78f5bbf78ef55c99df2edf7fdc659acc1f904375 465 haskell_platform_port scientific 0.3.4.6 0 { 466 checksums rmd160 4bfb75065ac6f4bd08a57fbc5b0b57740bd475f9 \ 467 sha256 bdd15c72b379ceaef5f30d7113e6971a47090a285f46d1d44528e328061df382 468 469 depends_lib-append port:hs-hashable \ 470 port:hs-text \ 471 port:hs-vector 472 473 description Numbers represented using scientific notation 474 long_description \ 475 Data.Scientific provides the number type Scientific. Scientific numbers \ 476 are arbitrary precision and space efficient. They are represented using \ 477 scientific notation. 478 } 479 480 haskell_platform_port split 0.2.3 0 { 481 checksums rmd160 07ecb46e17402354b59df4c0dd27e1d1d3215314 \ 482 sha256 a6d100e433fa27eda72127475ba9c55481ca4105cfbb6ff55b67023d00ccead9 412 483 413 484 description Combinator library for splitting lists. 414 485 long_description \ … … 416 487 the "split" function found in several mainstream languages. 417 488 } 418 489 419 haskell_platform_port stm 2.4.2 3 { 420 checksums rmd160 7d49257f7e2de7cf18e02dc3ceeb4619d7980dd8 \ 421 sha256 c8ee3cd64c266133902619cfff2d04e5f66206f91dbce8dd1182037fbe4858db 490 haskell_platform_port StateVar 1.1.0.4 0 { 491 checksums rmd160 2ebc45624d7c7559dd95b92c14771da7967818ad \ 492 sha256 7ad68decb5c9a76f83c95ece5fa13d1b053e4fb1079bd2d3538f6b05014dffb7 493 494 depends_lib-append port:hs-stm 495 496 description State variables 497 long_description \ 498 This package contains state variables, which are references in the IO \ 499 monad, like IORefs or parts of the OpenGL state. 500 } 501 502 haskell_platform_port stm 2.4.4.1 0 { 503 checksums rmd160 cf2d08df7a1d7b05ae793a28c548a7014f595cd1 \ 504 sha256 8f999095ed8d50d2056fc6e185035ee8166c50751e1af8de02ac38d382bf3384 422 505 423 506 description Software Transactional Memory 424 507 long_description A modular composable concurrency abstraction. 425 508 } 426 509 427 haskell_platform_port syb 0. 4.1 1{428 checksums rmd160 4ed2329f3c915adb91fb5b1f6b3735e219d1fdd6\429 sha256 a a32cb3d9a0cbcfb24ac1c5d567886e8908dd017fd009ffd446bff86732670d2510 haskell_platform_port syb 0.6 0 { 511 checksums rmd160 b482c5236cdca6ef315fed2830c6937e8a9890b7 \ 512 sha256 a38d1f7e6a40e2c990fec85215c45063a508bf73df98a4483ec78c5025b66cdc 430 513 431 514 description Scrap Your Boilerplate 432 515 long_description \ … … 438 521 a variety of traversals. 439 522 } 440 523 441 haskell_platform_port text 1. 1.0.0 1{442 checksums rmd160 b57efc9cbf277cd914a9e148129e42ae861771b8\443 sha256 80f1ada824f0e3886bb49dc7fd128707ca1a34e06bbf4419873b1677c4d7ba92524 haskell_platform_port text 1.2.2.1 0 { 525 checksums rmd160 e45ea659385824258fffd634b7c141e567885d6e \ 526 sha256 1addb1bdf36293c996653c9a0a320b5491714495862d997a23fb1ecd41ff395b 444 527 445 528 description An efficient packed Unicode text type 446 529 long_description \ … … 448 531 with a powerful loop fusion optimization framework. 449 532 } 450 533 451 haskell_platform_port unordered-containers 0.2.4.0 1 { 452 checksums rmd160 0d62b6b8f95e65890e07934413cd1377ed1e85e5 \ 453 sha256 34eaeb0c96d84169aca7085cf21f89bedb4bdb4de2ac78358a087faeea93cdf4 534 haskell_platform_port tf-random 0.5 1 { 535 checksums rmd160 bd58a02f7e68c4fd4e51591fa4ddad93d416d717 \ 536 sha256 2e30cec027b313c9e1794d326635d8fc5f79b6bf6e7580ab4b00186dadc88510 537 538 depends_lib-append port:hs-primitive \ 539 port:hs-random 540 541 description High-quality splittable pseudorandom number generator 542 long_description \ 543 This package contains an implementation of a high-quality splittable \ 544 pseudorandom number generator. The generator is based on \ 545 a cryptographic hash function built on top of the ThreeFish block \ 546 cipher. See the paper Splittable Pseudorandom Number Generators Using \ 547 Cryptographic Hashing by Claessen, Pałka for details and the rationale \ 548 of the design. 549 } 550 551 haskell_platform_port unordered-containers 0.2.7.0 0 { 552 checksums rmd160 2458771be54ad1e26c499933585df2c927d9f3d6 \ 553 sha256 6503226d24069698bbb454c15c53a7f9f245aba228e142c6b6ab2d31cecc5ef6 454 554 455 555 depends_lib-append port:hs-hashable 456 556 … … 461 561 quantities and high speed. 462 562 } 463 563 464 haskell_platform_port vector 0.10.9.1 1 { 465 checksums rmd160 885ba057a05219ae6a35170539c68996d2074668 \ 466 sha256 205656e9741aad406e427e988dbf1665bf5dbdf3e9d574e309c274be4e06bde5 564 haskell_platform_port vector 0.11.0.0 0 { 565 patch.pre_args -p1 566 patchfiles 552ff11c2bd905faff53b2e34900cbbbf59955c8.patch \ 567 6c17dd6fadc5e7e3e09f7892380ce1339f296efd.patch 568 569 checksums rmd160 7d4b4839385bcfed622b9be1d40801b7b33f03b2 \ 570 sha256 0a5320ed44c3f2b04b7f61e0f63f4fcd5b337524e601e01d5813ace3f5a432e4 467 571 468 572 depends_lib-append port:hs-primitive 469 573 … … 473 577 immutable), with a powerful loop optimisation framework. 474 578 } 475 579 476 haskell_platform_port zlib 0. 5.4.1 4{477 checksums rmd160 9ed49e79e239604958a9c385cca75747fafc2713\478 sha256 c ca365e4c52c90be41a5754943134da5ce6c60bb52fa00c128fd118e0505a550580 haskell_platform_port zlib 0.6.1.1 0 { 581 checksums rmd160 244614e96ea44529025f5343a768bd8317adbd48 \ 582 sha256 c5f5b4285473657a7997d74f7642f3e7bda40f92c3c5d49471a899e27a4ba735 479 583 480 584 depends_lib-append port:zlib 481 585 … … 491 595 # Programs and Tools # 492 596 ###################### 493 597 494 haskell_platform_tool cabal-install 1.18.0.5 1 { 495 checksums rmd160 f07279510e03678ad5e3720d9e01707681f874ea \ 496 sha256 477df8ef73916e8bc23c727280a1700939131a3e2809a057668c883b0b521782 497 498 depends_lib-append port:hs-http \ 598 haskell_platform_tool cabal-install 1.24.0.0 0 { 599 checksums rmd160 8cb6a107efc71d68783e8c41e54498a257059b3c \ 600 sha256 d840ecfd0a95a96e956b57fb2f3e9c81d9fc160e1fd0ea350b0d37d169d9e87e 601 602 depends_lib-append \ 603 port:hs-async \ 604 port:hs-cryptohash-sha256 \ 605 port:hs-hackage-security \ 606 port:hs-hashable \ 607 port:hs-http \ 499 608 port:hs-mtl \ 500 609 port:hs-network \ 501 610 port:hs-random \ 502 611 port:hs-stm \ 612 port:hs-tar \ 503 613 port:hs-zlib 504 614 505 615 description The command-line interface for Cabal and Hackage … … 509 619 installation of Haskell libraries and programs. 510 620 } 511 621 512 haskell_platform_tool alex 3.1. 3 1{513 checksums rmd160 2325ccfc770264c517d2dfa38cece9376d4e252d\514 sha256 8 d41a6e72a016155f00c846f7146ab4b27fe9640668a4b592d6a9b856f970a92622 haskell_platform_tool alex 3.1.7 0 { 623 checksums rmd160 f96a1970e649c5928c8e4450517fa721e8059e10 \ 624 sha256 89a1a13da6ccbeb006488d9574382e891cf7c0567752b330cc8616d748bf28d1 515 625 516 626 depends_lib-append port:hs-quickcheck 517 627 … … 523 633 similar to the tool lex or flex for C/C++. 524 634 } 525 635 526 haskell_platform_tool happy 1.19. 4 1{527 checksums rmd160 8ec09c4743d85ae493354e49df07f0ee423267cf\528 sha256 6 be499f66c61f8c48cbbbcb70515eb8e62c2bfa08adcc8c9474e7ae343a6936d636 haskell_platform_tool happy 1.19.5 0 { 637 checksums rmd160 31895a6e6bcf1eeae2e5949cc5ca49d84094ae89 \ 638 sha256 62f03ac11d7b4b9913f212f5aa2eee1087f3b46dc07d799d41e1854ff02843da 529 639 530 640 depends_lib-append port:hs-mtl 531 641 description A parser generator for Haskell … … 535 645 in a similar way to the yacc tool for C. 536 646 } 537 647 538 haskell_platform_tool hscolour 1.2 0.3 1{539 checksums rmd160 2d875ecdb910a5955a5ec049935a74c60edbc4cc\540 sha256 3adb816fba3ecdf9f1ee5fb23feb0611b0762f7e8c2a282c2def5cc2f5483d96648 haskell_platform_tool hscolour 1.24 0 { 649 checksums rmd160 3e12fdf8b9148c1d591d5e55805d3a62602c6de8 \ 650 sha256 54bc45137ba06bd876cf98424f974e325e9b236bd5c18d1c5b2ea0351b1d9332 541 651 542 652 license GPL-2+ 543 653 … … 549 659 HTML 4.01 with CSS and mouseover annotations, XHTML 1.0 with inline CSS \ 550 660 styling, LaTeX, and mIRC chat codes. 551 661 } 662 663 haskell_platform_tool stack 1.1.2 0 { 664 checksums rmd160 7024e4802abdc6dbb318807d4e15b4fa1a56788b \ 665 sha256 fc836b24fdeac54244fc79b6775d5edee146b7e552ad8e69596c7cc2f2b10625 666 667 depends_lib-append \ 668 aeson >=0.8.0.2 && <0.10 || ==0.11.*, 669 ansi-terminal >=0.6.2.3 && <0.7, 670 base-compat >=0.6 && <0.10, 671 binary ==0.7.*, 672 binary-tagged >=0.1.1 && <0.2, 673 blaze-builder >=0.4.0.2 && <0.5, 674 byteable >=0.1.1 && <0.2, 675 conduit >=1.2.4 && <1.3, 676 conduit-extra >=1.1.7.1 && <1.2, 677 cryptohash >=0.11.6 && <0.12, 678 cryptohash-conduit >=0.1.1 && <0.2, 679 edit-distance ==0.2.*, 680 either >=4.4.1.1 && <4.5, 681 enclosed-exceptions >=1.0.1.1 && <1.1, 682 errors >=2.1.2 && <2.2, 683 exceptions >=0.8.0.2 && <0.9, 684 extra >=1.4.6 && <1.5, 685 fast-logger >=2.3.1 && <2.5, 686 filelock >=0.1.0.1 && <0.2, 687 fsnotify >=0.2.1 && <0.3, 688 generic-deriving >=1.9.0 && <1.10, 689 hastache >=0.6.1 && <0.7, 690 hit >=0.6.3 && <0.7, 691 hpack >=0.14.0 && <0.15, 692 http-client >=0.4.28 && <0.5, 693 http-client-tls >=0.2.2 && <0.3, 694 http-conduit >=2.1.7 && <2.2, 695 http-types >=0.8.6 && <0.10, 696 lifted-base >=0.2.3.6 && <0.3, 697 microlens >=0.3.0.0 && <0.5, 698 monad-control >=1.0.1.0 && <1.1, 699 monad-logger >=0.3.13.1 && <0.4, 700 monad-unlift >=0.1.2.0 && <0.2, 701 open-browser >=0.2.1 && <0.3, 702 optparse-applicative >=0.11.0.2 && <0.13, 703 path >=0.5.7 && <0.6, 704 path-io >=1.1.0 && <2.0.0, 705 persistent >=2.1.2 && <2.6, 706 persistent-sqlite >=2.1.4 && <2.6, 707 persistent-template >=2.1.1 && <2.6, 708 process >=1.2.0.0 && <1.3, 709 project-template ==0.2.*, 710 regex-applicative-text >=0.1.0.1 && <0.2, 711 resourcet >=1.1.4.1 && <1.2, 712 retry >=0.6 && <0.8, 713 safe ==0.3.*, 714 semigroups >=0.5 && <0.19, 715 split >=0.2.3.1 && <0.3, 716 streaming-commons >=0.1.10.0 && <0.2, 717 template-haskell >=2.9.0.0 && <2.11, 718 temporary >=1.2.0.3 && <1.3, 719 text-binary >=0.2.1 && <0.3, 720 time >=1.4.2 && <1.6, 721 tls >=1.3.8 && <1.4, 722 transformers >=0.4.2.0 && <0.5, 723 transformers-base >=0.4.4 && <0.5, 724 unix-compat >=0.4.1.4 && <0.5, 725 vector-binary-instances >=0.2.3.2 && <0.3, 726 yaml >=0.8.10.1 && <0.9, 727 zip-archive >=0.2.3.7 && <0.3 728 729 description The Haskell Tool Stack 730 long_description \ 731 Stack is a cross-platform program for developing Haskell projects. It \ 732 is intended for Haskellers both new and experienced. 733 } -
devel/haskell-platform/files/0359ea15842d4e6bef27c0d621964507e4bfd219.patch
1 From 0359ea15842d4e6bef27c0d621964507e4bfd219 Mon Sep 17 00:00:00 2001 2 From: Herbert Valerio Riedel <hvr@gnu.org> 3 Date: Sat, 31 Oct 2015 10:03:39 +0100 4 Subject: [PATCH] Bump upper bound to allow base-4.9 5 6 Upstream-Stauts: Backport [https://github.com/haskell/primitive/commit/0359ea15842d4e6bef27c0d621964507e4bfd219] 7 --- 8 primitive.cabal | 2 +- 9 1 file changed, 1 insertion(+), 1 deletion(-) 10 11 diff --git a/primitive.cabal b/primitive.cabal 12 index 232dccc..2f35e9e 100644 13 --- a/primitive.cabal 14 +++ b/primitive.cabal 15 @@ -36,7 +36,7 @@ Library 16 Data.Primitive.Internal.Compat 17 Data.Primitive.Internal.Operations 18 19 - Build-Depends: base >= 4.3 && < 4.9 20 + Build-Depends: base >= 4.3 && < 4.10 21 , ghc-prim >= 0.2 && < 0.5 22 , transformers >= 0.2 && < 0.5 23 -
devel/haskell-platform/files/1af89788d5c9ab7a0a93ff6764e1770e6c80d957.patch
1 From 1af89788d5c9ab7a0a93ff6764e1770e6c80d957 Mon Sep 17 00:00:00 2001 2 From: Herbert Valerio Riedel <hvr@gnu.org> 3 Date: Sun, 20 Dec 2015 23:17:37 +0100 4 Subject: [PATCH] Relax upper bound to allow transformers-0.5 5 6 Upstream-Status: Backport [https://github.com/haskell/primitive/commit/1af89788d5c9ab7a0a93ff6764e1770e6c80d957] 7 --- 8 primitive.cabal | 2 +- 9 1 file changed, 1 insertion(+), 1 deletion(-) 10 11 diff --git a/primitive.cabal b/primitive.cabal 12 index f034b78..982d2f4 100644 13 --- a/primitive.cabal 14 +++ b/primitive.cabal 15 @@ -38,7 +38,7 @@ Library 16 17 Build-Depends: base >= 4.3 && < 4.10 18 , ghc-prim >= 0.2 && < 0.6 19 - , transformers >= 0.2 && < 0.5 20 + , transformers >= 0.2 && < 0.6 21 22 Ghc-Options: -O2 -Wall 23 -
devel/haskell-platform/files/552ff11c2bd905faff53b2e34900cbbbf59955c8.patch
1 From 552ff11c2bd905faff53b2e34900cbbbf59955c8 Mon Sep 17 00:00:00 2001 2 From: Herbert Valerio Riedel <hvr@gnu.org> 3 Date: Sat, 31 Oct 2015 10:02:58 +0100 4 Subject: [PATCH] Bump upper bound to allow base-4.9 5 6 Upstream-Status: Backport [https://github.com/haskell/vector/commit/552ff11c2bd905faff53b2e34900cbbbf59955c8] 7 --- 8 vector.cabal | 2 +- 9 1 file changed, 1 insertion(+), 1 deletion(-) 10 11 diff --git a/vector.cabal b/vector.cabal 12 index 062fd38..3d3b0ff 100644 13 --- a/vector.cabal 14 +++ b/vector.cabal 15 @@ -138,7 +138,7 @@ Library 16 Install-Includes: 17 vector.h 18 19 - Build-Depends: base >= 4.3 && < 4.9 20 + Build-Depends: base >= 4.3 && < 4.10 21 , primitive >= 0.5.0.1 && < 0.7 22 , ghc-prim >= 0.2 && < 0.5 23 , deepseq >= 1.1 && < 1.5 -
devel/haskell-platform/files/59498406a6338d93891dec3abcbdde2cb7e41325.patch
1 From 59498406a6338d93891dec3abcbdde2cb7e41325 Mon Sep 17 00:00:00 2001 2 From: Oleg Grenrus <oleg.grenrus@iki.fi> 3 Date: Wed, 23 Dec 2015 16:41:29 +0200 4 Subject: [PATCH] Support transformers-0.5 5 6 Upstream-Staus: Backport [https://github.com/ekmett/mtl/commit/59498406a6338d93891dec3abcbdde2cb7e41325] 7 --- 8 mtl.cabal | 2 +- 9 1 file changed, 1 insertion(+), 1 deletion(-) 10 11 diff --git a/mtl.cabal b/mtl.cabal 12 index aaa5187..7702edd 100644 13 --- a/mtl.cabal 14 +++ b/mtl.cabal 15 @@ -54,7 +54,7 @@ Library 16 Control.Monad.Writer.Class 17 Control.Monad.Writer.Lazy 18 Control.Monad.Writer.Strict 19 - build-depends: base < 6, transformers == 0.4.* 20 + build-depends: base < 6, transformers >= 0.4 && <0.6 21 extensions: 22 MultiParamTypeClasses 23 FunctionalDependencies -
devel/haskell-platform/files/6c17dd6fadc5e7e3e09f7892380ce1339f296efd.patch
1 From 6c17dd6fadc5e7e3e09f7892380ce1339f296efd Mon Sep 17 00:00:00 2001 2 From: Herbert Valerio Riedel <hvr@gnu.org> 3 Date: Sun, 1 Nov 2015 12:51:30 +0100 4 Subject: [PATCH] Relax upper bound on `ghc-prim` to allow v0.5 5 6 See https://github.com/ghc/ghc/blob/master/libraries/ghc-prim/changelog.md for what changed 7 8 Upstream-Status: Backport [https://github.com/haskell/vector/commit/6c17dd6fadc5e7e3e09f7892380ce1339f296efd] 9 --- 10 vector.cabal | 2 +- 11 1 file changed, 1 insertion(+), 1 deletion(-) 12 13 diff --git a/vector.cabal b/vector.cabal 14 index 3d3b0ff..d962c72 100644 15 --- a/vector.cabal 16 +++ b/vector.cabal 17 @@ -140,7 +140,7 @@ Library 18 19 Build-Depends: base >= 4.3 && < 4.10 20 , primitive >= 0.5.0.1 && < 0.7 21 - , ghc-prim >= 0.2 && < 0.5 22 + , ghc-prim >= 0.2 && < 0.6 23 , deepseq >= 1.1 && < 1.5 24 25 Ghc-Options: -O2 -Wall -fno-warn-orphans -
devel/haskell-platform/files/83d3d23d2fa1583ecd1b59464cc889924e1b5fff.patch
1 From 83d3d23d2fa1583ecd1b59464cc889924e1b5fff Mon Sep 17 00:00:00 2001 2 From: Herbert Valerio Riedel <hvr@gnu.org> 3 Date: Sun, 1 Nov 2015 12:51:32 +0100 4 Subject: [PATCH] Relax upper bound on `ghc-prim` to allow v0.5 5 6 See https://github.com/ghc/ghc/blob/master/libraries/ghc-prim/changelog.md for what changed 7 8 Upstream-Status: Backport [https://github.com/haskell/primitive/commit/83d3d23d2fa1583ecd1b59464cc889924e1b5fff] 9 --- 10 primitive.cabal | 2 +- 11 1 file changed, 1 insertion(+), 1 deletion(-) 12 13 diff --git a/primitive.cabal b/primitive.cabal 14 index 2f35e9e..f034b78 100644 15 --- a/primitive.cabal 16 +++ b/primitive.cabal 17 @@ -37,7 +37,7 @@ Library 18 Data.Primitive.Internal.Operations 19 20 Build-Depends: base >= 4.3 && < 4.10 21 - , ghc-prim >= 0.2 && < 0.5 22 + , ghc-prim >= 0.2 && < 0.6 23 , transformers >= 0.2 && < 0.5 24 25 Ghc-Options: -O2 -Wall -
lang/ghc/Portfile
8 8 # Do not update GHC separate from Haskell Platform. 9 9 # When updating GHC, make sure to revbump all Haskell ports. 10 10 # Also make sure to update the version in the Haskell PortGroup. 11 version 7.8.312 revision 411 version 8.0.1 12 revision 0 13 13 categories lang haskell 14 14 maintainers cal openmaintainer 15 15 license BSD … … 34 34 distname ${name}-${version}-src 35 35 worksrcdir ${name}-${version} 36 36 37 use_ bzip2yes37 use_xz yes 38 38 39 39 distfiles ${name}-${version}-src${extract.suffix} \ 40 40 ${name}-${version}-testsuite${extract.suffix} 41 41 42 checksums ghc- 7.8.3-src.tar.bz2\43 rmd160 464d31d924a8c1e23e94b3cae810c4e41dad4b75\44 sha256 2358826f8424bf571dcc313bd882422fe108a340d6e37db4339ff6d5d6ac3f37\45 ghc- 7.8.3-testsuite.tar.bz2\46 rmd160 abc39b71e2f3926b80c681428c447f39599d7d83\47 sha256 9cfef874adf5b895701ae52e507f07049a64246af120ac15200e7bf61252112242 checksums ghc-8.0.1-src.tar.xz \ 43 rmd160 3ad5728492a7dd874de320fe0a3936fcd7681693 \ 44 sha256 90fb20cd8712e3c0fbeb2eac8dab6894404c21569746655b9b12ca9684c7d1d2 \ 45 ghc-8.0.1-testsuite.tar.xz \ 46 rmd160 20e03e566d0842dfcd12f48fa0cc86c6d5a3caff \ 47 sha256 bc57163656ece462ef61072559d491b72c5cdd694f3c39b80ac0f6b9a3dc8151 48 48 49 49 depends_build port:ghc-bootstrap \ 50 50 port:libxslt 51 51 52 depends_lib port:gmp 53 port:ncurses 54 port:libiconv 55 port:llvm-3. 5\52 depends_lib port:gmp \ 53 port:ncurses \ 54 port:libiconv \ 55 port:llvm-3.7 \ 56 56 port:libffi 57 57 58 patchfiles patch-configure-workaround-bsdsed-incompatibility.diff \ 59 patch-configure-disable-docs.diff \ 60 patch-unix_lib_osx_sandbox_compatibility.diff 58 patchfiles patch-configure-link-ghc-pwd-against-system-libiconv.diff \ 59 buildpath-abi-stability.patch 61 60 62 61 livecheck.type none 63 62 test.run yes … … 78 77 macports-clang-3.3 79 78 80 79 set bootstraproot ${prefix}/share/ghc-bootstrap 81 set llvmPrefix ${prefix}/libexec/llvm-3. 580 set llvmPrefix ${prefix}/libexec/llvm-3.7 82 81 configure.args --with-ghc=${bootstraproot}/bin/ghc \ 83 82 --with-iconv-includes=${prefix}/include \ 84 83 --with-iconv-libraries=${prefix}/lib \ … … 91 90 --with-llc=${llvmPrefix}/bin/llc \ 92 91 --with-opt=${llvmPrefix}/bin/opt 93 92 93 # See https://ghc.haskell.org/trac/ghc/ticket/11744 94 pre-configure { 95 try { 96 set nmclassic [exec -- xcrun --find nm-classic] 97 if {$nmclassic ne ""} { 98 configure.args-append --with-nm=${nmclassic} 99 } 100 } catch {*} {} 101 } 102 94 103 # OK so because the bootstrap binary has been prebuilt for libraries in 95 104 # /usr/lib we search these in addition to MacPorts' paths to prevent link 96 105 # errors. GHC _should_ actually compile itself in stage2 using paths from the … … 98 107 compiler.cpath /usr/include 99 108 compiler.library_path /usr/lib 100 109 101 build.args VERBOSE=1 102 destroot.args VERBOSE=1 110 pre-configure { 111 file mkdir ${worksrcpath}/build 112 file copy -force ${filespath}/build.mk ${worksrcpath}/build/build.mk 113 } 103 114 104 115 pre-activate { 105 116 set obsoletes [list] -
lang/ghc/files/build.mk
1 # ----------------------------------------------------------------------------- 2 # MacPorts GHC build configuration 3 # 4 # Uncomment one of the following BuildFlavour settings to get the desired 5 # overall build type. 6 7 # Disable building the documentation, we want to avoid the dependency 8 BUILD_DOCBOOK_HTML = NO 9 BUILD_DOCBOOK_PS = NO 10 BUILD_DOCBOOK_PDF = NO 11 12 # -------- Build profiles ----------------------------------------------------- 13 # Uncomment one of these to select a build profile below: 14 15 # Full build with max optimisation and everything enabled (very slow build) 16 #BuildFlavour = perf 17 18 # As above but build GHC using the LLVM backend 19 #BuildFlavour = perf-llvm 20 21 # Perf build configured for a cross-compiler 22 #BuildFlavour = perf-cross 23 24 # Fast build with optimised libraries, no profiling (RECOMMENDED): 25 BuildFlavour = quick 26 27 # Fast build with optimised libraries, no profiling, with LLVM: 28 #BuildFlavour = quick-llvm 29 30 # Fast build configured for a cross compiler 31 #BuildFlavour = quick-cross 32 33 # Even faster build. NOT RECOMMENDED: the libraries will be 34 # completely unoptimised, so any code built with this compiler 35 # (including stage2) will run very slowly: 36 #BuildFlavour = quickest 37 38 # Profile the stage2 compiler: 39 #BuildFlavour = prof 40 41 # A development build, working on the stage 1 compiler: 42 #BuildFlavour = devel1 43 44 # A development build, working on the stage 2 compiler: 45 #BuildFlavour = devel2 46 47 # A build with max optimisation that still builds the stage2 compiler 48 # quickly. Compiled code will be the same as with "perf". Programs 49 # will compile more slowly. 50 #BuildFlavour = bench 51 52 # As above but build GHC using the LLVM backend 53 #BuildFlavour = bench-llvm 54 55 # Bench build configured for a cross-compiler 56 #BuildFlavour = bench-cross 57 58 # Use the same settings as validate. 59 #BuildFlavour = validate 60 61 ifneq "$(BuildFlavour)" "" 62 include mk/flavours/$(BuildFlavour).mk 63 endif 64 65 # -------- Miscellaneous variables -------------------------------------------- 66 67 # Set to V = 0 to get prettier build output. 68 # Please use V=1 (the default) when reporting GHC bugs. 69 V = 0 70 71 # Should all enabled warnings (see mk/warnings.mk) be turned into errors while 72 # building stage 2? 73 #WERROR=-Werror 74 75 # After stage 1 and the libraries have been built, you can uncomment this line: 76 #stage=2 77 78 # Then stage 1 will not be touched by the build system, until 79 # you comment the line again. This is a useful trick for when you're 80 # working on stage 2 and want to freeze stage 1 and the libraries for 81 # a while. 82 83 # Build the "extra" packages (see ./packages). This enables more tests. See: 84 # https://ghc.haskell.org/trac/ghc/wiki/Building/RunningTests/Running#AdditionalPackages 85 #BUILD_EXTRA_PKGS=YES 86 87 # Uncomment the following line to enable building DPH 88 #BUILD_DPH=YES 89 90 # Uncomment the following to force `integer-gmp` to use the in-tree GMP 5.0.4 91 # (other sometimes useful configure-options: `--with-gmp-{includes,libraries}`) 92 #libraries/integer-gmp_CONFIGURE_OPTS += --configure-option=--with-intree-gmp 93 94 GhcLibWays = $(if $(filter $(DYNAMIC_GHC_PROGRAMS),YES),v dyn,v) 95 96 # Only use -fasm by default on platforms that support it. 97 GhcFAsm = $(if $(filter $(GhcWithNativeCodeGen),YES),-fasm,) 98 99 # ----------- A Performance/Distribution build -------------------------------- 100 101 ifeq "$(BuildFlavour)" "perf" 102 103 # perf matches the default settings, repeated here for comparison: 104 105 SRC_HC_OPTS = -O -H64m 106 GhcStage1HcOpts = -O $(GhcFAsm) 107 GhcStage2HcOpts = -O2 $(GhcFAsm) 108 GhcHcOpts = -Rghc-timing 109 GhcLibHcOpts = -O2 110 GhcLibWays += p 111 112 ifeq "$(PlatformSupportsSharedLibs)" "YES" 113 GhcLibWays += dyn 114 endif 115 116 endif 117 118 # ---------------- Perf build using LLVM -------------------------------------- 119 120 ifeq "$(BuildFlavour)" "perf-llvm" 121 122 SRC_HC_OPTS = -O -H64m -fllvm 123 GhcStage1HcOpts = -O -fllvm 124 GhcStage2HcOpts = -O2 -fllvm 125 GhcHcOpts = -Rghc-timing 126 GhcLibHcOpts = -O2 127 GhcLibWays += p 128 129 endif 130 131 # ------- A Perf build configured for cross-compilation ---------------------- 132 133 ifeq "$(BuildFlavour)" "perf-cross" 134 135 SRC_HC_OPTS = -O -H64m -fllvm 136 GhcStage1HcOpts = -O2 137 GhcStage2HcOpts = -O2 -fllvm 138 GhcHcOpts = -Rghc-timing 139 GhcLibHcOpts = -O2 140 GhcLibWays += p 141 INTEGER_LIBRARY = integer-simple 142 Stage1Only = YES 143 144 HADDOCK_DOCS = NO 145 BUILD_DOCBOOK_HTML = NO 146 BUILD_DOCBOOK_PS = NO 147 BUILD_DOCBOOK_PDF = NO 148 149 DYNAMIC_BY_DEFAULT = NO 150 DYNAMIC_GHC_PROGRAMS = NO 151 152 endif 153 154 # -------- A Fast build ------------------------------------------------------- 155 156 ifeq "$(BuildFlavour)" "quickest" 157 158 SRC_HC_OPTS = -H64m -O0 $(GhcFAsm) 159 GhcStage1HcOpts = -O $(GhcFAsm) 160 GhcStage2HcOpts = -O0 $(GhcFAsm) 161 GhcLibHcOpts = -O0 $(GhcFAsm) 162 SplitObjs = NO 163 HADDOCK_DOCS = NO 164 BUILD_DOCBOOK_HTML = NO 165 BUILD_DOCBOOK_PS = NO 166 BUILD_DOCBOOK_PDF = NO 167 168 endif 169 170 # -------- A Fast build with optimised libs ----------------------------------- 171 172 ifeq "$(BuildFlavour)" "quick" 173 174 SRC_HC_OPTS = -H64m -O0 $(GhcFAsm) 175 GhcStage1HcOpts = -O $(GhcFAsm) 176 GhcStage2HcOpts = -O0 $(GhcFAsm) 177 GhcLibHcOpts = -O $(GhcFAsm) 178 SplitObjs = NO 179 HADDOCK_DOCS = NO 180 BUILD_DOCBOOK_HTML = NO 181 BUILD_DOCBOOK_PS = NO 182 BUILD_DOCBOOK_PDF = NO 183 184 endif 185 186 # -------- A Fast build with optimised libs using LLVM ------------------------ 187 188 ifeq "$(BuildFlavour)" "quick-llvm" 189 190 SRC_HC_OPTS = -H64m -O0 -fllvm 191 GhcStage1HcOpts = -O -fllvm 192 GhcStage2HcOpts = -O0 -fllvm 193 GhcLibHcOpts = -O -fllvm 194 SplitObjs = NO 195 HADDOCK_DOCS = NO 196 BUILD_DOCBOOK_HTML = NO 197 BUILD_DOCBOOK_PS = NO 198 BUILD_DOCBOOK_PDF = NO 199 200 endif 201 202 # -------- A Fast build configured for cross-compilation ---------------------- 203 204 ifeq "$(BuildFlavour)" "quick-cross" 205 206 SRC_HC_OPTS = -H64m -O0 207 GhcStage1HcOpts = -O 208 GhcStage2HcOpts = -O0 -fllvm 209 GhcLibHcOpts = -O -fllvm 210 SplitObjs = NO 211 HADDOCK_DOCS = NO 212 BUILD_DOCBOOK_HTML = NO 213 BUILD_DOCBOOK_PS = NO 214 BUILD_DOCBOOK_PDF = NO 215 INTEGER_LIBRARY = integer-simple 216 Stage1Only = YES 217 218 DYNAMIC_BY_DEFAULT = NO 219 DYNAMIC_GHC_PROGRAMS = NO 220 221 endif 222 223 # -------- Profile the stage2 compiler ---------------------------------------- 224 225 ifeq "$(BuildFlavour)" "prof" 226 227 SRC_HC_OPTS = -H64m -O0 $(GhcFAsm) 228 GhcStage1HcOpts = -O $(GhcFAsm) 229 GhcStage2HcOpts = -O $(GhcFAsm) 230 GhcLibHcOpts = -O $(GhcFAsm) 231 232 GhcLibWays += p 233 GhcProfiled = YES 234 235 SplitObjs = NO 236 HADDOCK_DOCS = NO 237 BUILD_DOCBOOK_HTML = NO 238 BUILD_DOCBOOK_PS = NO 239 BUILD_DOCBOOK_PDF = NO 240 241 endif 242 243 # -------- A Development build (stage 1) -------------------------------------- 244 245 ifeq "$(BuildFlavour)" "devel1" 246 247 SRC_HC_OPTS = -H64m -O $(GhcFAsm) 248 GhcLibHcOpts = -O -dcore-lint 249 GhcStage1HcOpts = -Rghc-timing -O0 -DDEBUG 250 GhcStage2HcOpts = -Rghc-timing -O $(GhcFAsm) 251 SplitObjs = NO 252 HADDOCK_DOCS = NO 253 BUILD_DOCBOOK_HTML = NO 254 BUILD_DOCBOOK_PS = NO 255 BUILD_DOCBOOK_PDF = NO 256 LAX_DEPENDENCIES = YES 257 258 endif 259 260 # -------- A Development build (stage 2) -------------------------------------- 261 262 ifeq "$(BuildFlavour)" "devel2" 263 264 SRC_HC_OPTS = -H64m -O $(GhcFAsm) 265 GhcLibHcOpts = -O -dcore-lint 266 GhcStage1HcOpts = -Rghc-timing -O $(GhcFAsm) 267 GhcStage2HcOpts = -Rghc-timing -O0 -DDEBUG 268 SplitObjs = NO 269 HADDOCK_DOCS = NO 270 BUILD_DOCBOOK_HTML = NO 271 BUILD_DOCBOOK_PS = NO 272 BUILD_DOCBOOK_PDF = NO 273 LAX_DEPENDENCIES = YES 274 275 endif 276 277 # -------- A bench build with optimised libs ----------------------------------- 278 279 ifeq "$(BuildFlavour)" "bench" 280 281 SRC_HC_OPTS = -O -H64m 282 GhcStage1HcOpts = -O $(GhcFAsm) 283 GhcStage2HcOpts = -O0 $(GhcFAsm) 284 GhcLibHcOpts = -O2 $(GhcFAsm) 285 SplitObjs = NO 286 HADDOCK_DOCS = NO 287 BUILD_DOCBOOK_HTML = NO 288 BUILD_DOCBOOK_PS = NO 289 BUILD_DOCBOOK_PDF = NO 290 291 endif 292 293 # ---------------- Bench build using LLVM -------------------------------------- 294 295 ifeq "$(BuildFlavour)" "bench-llvm" 296 297 SRC_HC_OPTS = -O -H64m 298 GhcStage1HcOpts = -O -fllvm 299 GhcStage2HcOpts = -O0 -fllvm 300 GhcLibHcOpts = -O2 -fllvm 301 SplitObjs = NO 302 HADDOCK_DOCS = NO 303 BUILD_DOCBOOK_HTML = NO 304 BUILD_DOCBOOK_PS = NO 305 BUILD_DOCBOOK_PDF = NO 306 307 endif 308 309 # ------- A Bench build configured for cross-compilation ---------------------- 310 311 ifeq "$(BuildFlavour)" "bench-cross" 312 313 SRC_HC_OPTS = -O -H64m 314 GhcStage1HcOpts = -O $(GhcFAsm) 315 GhcStage2HcOpts = -O0 $(GhcFAsm) 316 GhcLibHcOpts = -O2 $(GhcFAsm) 317 SplitObjs = NO 318 INTEGER_LIBRARY = integer-simple 319 Stage1Only = YES 320 HADDOCK_DOCS = NO 321 BUILD_DOCBOOK_HTML = NO 322 BUILD_DOCBOOK_PS = NO 323 BUILD_DOCBOOK_PDF = NO 324 325 DYNAMIC_BY_DEFAULT = NO 326 DYNAMIC_GHC_PROGRAMS = NO 327 328 endif 329 330 # ----------------------------------------------------------------------------- 331 # Other settings that might be useful 332 333 # NoFib settings 334 NoFibWays = 335 STRIP_CMD = : 336 337 # ghc-pwd needs to link against /usr/lib/libiconv.dylib explicitly, because 338 # ghc-bootstrap's base library .a archive expects it 339 utils/ghc-pwd_EXTRA_LIBRARIES += "/usr/lib/libiconv.dylib" -
lang/ghc/files/buildpath-abi-stability.patch
1 Avoid leaking build path into ABI hashes 2 3 GHC's build path leaks into the ABI hashes it generates by default. This 4 causes problems because it means that recompiling GHC in a different path 5 also requires recompiling all Haskell packages. Obviously, this is 6 undesirable for a distribution. 7 8 This patch originates from Debian's Joachim Breitner. See 9 http://bugs.debian.org/785282 for the Debian bug report. It has been 10 submitted upstream in https://ghc.haskell.org/trac/ghc/ticket/10424. 11 12 Upstream-Status: Submitted [https://ghc.haskell.org/trac/ghc/ticket/10424] 13 Index: ./compiler/iface/MkIface.hs 14 =================================================================== 15 --- ./compiler/iface/MkIface.hs 2015-05-17 20:34:02.808643844 +0200 16 +++ ./compiler/iface/MkIface.hs 2015-05-17 20:34:02.804643799 +0200 17 @@ -611,7 +611,7 @@ 18 iface_hash <- computeFingerprint putNameLiterally 19 (mod_hash, 20 ann_fn (mkVarOcc "module"), -- See mkIfaceAnnCache 21 - mi_usages iface0, 22 + usages, 23 sorted_deps, 24 mi_hpc iface0) 25 26 @@ -644,6 +644,9 @@ 27 (non_orph_fis, orph_fis) = mkOrphMap ifFamInstOrph (mi_fam_insts iface0) 28 fix_fn = mi_fix_fn iface0 29 ann_fn = mkIfaceAnnCache (mi_anns iface0) 30 + -- Do not allow filenames to affect the interface 31 + usages = [ case u of UsageFile _ fp -> UsageFile "" fp; _ -> u | u <- mi_usages iface0 ] 32 + 33 34 getOrphanHashes :: HscEnv -> [Module] -> IO [Fingerprint] 35 getOrphanHashes hsc_env mods = do -
lang/ghc/files/patch-configure-disable-docs.diff
1 --- configure.orig 2014-09-17 23:12:43.000000000 +02002 +++ configure 2014-09-17 23:13:29.000000000 +02003 @@ -11943,6 +11943,9 @@4 BUILD_DOCBOOK_PS=YES5 BUILD_DOCBOOK_PDF=YES6 fi7 +BUILD_DOCBOOK_HTML=NO8 +BUILD_DOCBOOK_PS=NO9 +BUILD_DOCBOOK_PDF=NO10 11 12 -
lang/ghc/files/patch-configure-link-ghc-pwd-against-system-libiconv.diff
1 Fix initial build of ghc-pwd due to missing libiconv 2 3 ghc-pwd fails to build because it is built using ghc-bootstrap, which ships 4 libHSbase-$version.a, which references symbols from libiconv (and actually the 5 system libiconv, because the MacPorts use uses _libiconv as symbol names, but 6 the archive uses _iconv). Fix this by explicitly linking against the system 7 libiconv for this initial build of ghc-pwd. 8 9 Upstream-Status: Inappropriate (/usr/lib/libiconv.dylib is system-specific; a generic solution would be needed) 10 --- configure.orig 2016-05-20 23:40:29.000000000 +0200 11 +++ configure 2016-05-20 23:41:06.000000000 +0200 12 @@ -4149,7 +4149,7 @@ 13 $as_echo "$as_me: Building in-tree ghc-pwd" >&6;} 14 rm -rf utils/ghc-pwd/dist-boot 15 mkdir utils/ghc-pwd/dist-boot 16 - GHC_LDFLAGS=`perl -e 'foreach (@ARGV) { print "-optl$_ " }' -- $LDFLAGS` 17 + GHC_LDFLAGS=`perl -e 'foreach (@ARGV) { print "-optl$_ " }' -- $LDFLAGS /usr/lib/libiconv.dylib` 18 if ! "$WithGhc" $GHC_LDFLAGS -v0 -no-user-$GHC_PACKAGE_DB_FLAG -hidir utils/ghc-pwd/dist-boot -odir utils/ghc-pwd/dist-boot -stubdir utils/ghc-pwd/dist-boot --make utils/ghc-pwd/Main.hs -o utils/ghc-pwd/dist-boot/ghc-pwd 19 then 20 as_fn_error $? "Building ghc-pwd failed" "$LINENO" 5 -
lang/ghc/files/patch-configure-workaround-bsdsed-incompatibility.diff
1 --- configure.orig 2014-09-17 22:40:16.000000000 +02002 +++ configure 2014-09-17 22:40:40.000000000 +02003 @@ -4075,7 +4075,7 @@4 $as_echo "$as_me: Building in-tree ghc-pwd" >&6;}5 rm -rf utils/ghc-pwd/dist-boot6 mkdir utils/ghc-pwd/dist-boot7 - GHC_LDFLAGS=`echo $LDFLAGS | sed 's/\(^\| \)\([^ ]\)/\1-optl\2/g'`8 + GHC_LDFLAGS= # this breaks our build with BSD sed, and we don't need the LDFLAGS here9 if ! "$WithGhc" $GHC_LDFLAGS -v0 -no-user-$GHC_PACKAGE_DB_FLAG -hidir utils/ghc-pwd/dist-boot -odir utils/ghc-pwd/dist-boot -stubdir utils/ghc-pwd/dist-boot --make utils/ghc-pwd/Main.hs -o utils/ghc-pwd/dist-boot/ghc-pwd10 then11 as_fn_error $? "Building ghc-pwd failed" "$LINENO" 5 -
lang/ghc/files/patch-unix_lib_osx_sandbox_compatibility.diff
1 --- libraries/unix/System/Posix/Files.hsc.orig 2014-09-21 17:58:47.000000000 +02002 +++ libraries/unix/System/Posix/Files.hsc 2014-09-21 17:59:31.000000000 +02003 @@ -152,7 +152,8 @@4 if (r == 0)5 then return True6 else do err <- getErrno7 - if (err == eACCES || err == eROFS || err == eTXTBSY)8 + if (err == eACCES || err == eROFS || err == eTXTBSY ||9 + err == ePERM)10 then return False11 else throwErrnoPath "fileAccess" name12 13 --- libraries/unix/System/Posix/Files/ByteString.hsc.orig 2014-09-21 17:58:54.000000000 +020014 +++ libraries/unix/System/Posix/Files/ByteString.hsc 2014-09-21 18:02:27.000000000 +020015 @@ -158,9 +158,10 @@16 if (r == 0)17 then return True18 else do err <- getErrno19 - if (err == eACCES)20 - then return False21 - else throwErrnoPath "fileAccess" name22 + if (err == eACCES || err == eROFS || err == eTXTBSY ||23 + err == ePERM)24 + then return False25 + else throwErrnoPath "fileAccess" name26 27 28 -- | @getFileStatus path@ calls gets the @FileStatus@ information (user ID, -
lang/ghc-bootstrap/Portfile
6 6 7 7 name ghc-bootstrap 8 8 set canonicalname ghc 9 # Note: 7.6.3 doesn't have a i386 darwin version at http://www.haskell.org/ghc/dist/7.6.3 10 version 7.6.2 11 revision 1 9 10 version 7.10.3 12 11 categories lang haskell 13 12 maintainers cal openmaintainer 14 13 license BSD 15 14 platforms darwin 16 supported_archs i386 x86_64 15 16 # Warning: http://downloads.haskell.org/~ghc/7.10.3/ does not have a i386 17 # darwin build and 7.6.2 (which seems to be the latest build that has it) is 18 # affected by https://github.com/haskell/unix/pull/18, which causes the GHC 19 # build to fail on El Capitan and later. This means that 20 # (a) I (or somebody else) would have to build a i386 ghc-bootstrap 21 # (b) i386 builds of GHC are no longer supported. 22 # I'm going with (b) until somebody on i386 volunteers to build a ghc-bootstrap 23 # or convinces upstream to do so. 24 supported_archs x86_64 25 17 26 universal_variant no 18 27 installs_libs no 19 28 20 29 description The Glorious Glasgow Haskell Compilation System 21 long_description \ 22 This is a package that installs a binary \ 23 bootstrap ghc compiler. 30 long_description This is a package that installs a binary GHC compiler for bootstrapping. 24 31 25 homepage http ://haskell.org/${canonicalname}26 master_sites ${homepage}/dist/${version}/32 homepage https://haskell.org/${canonicalname} 33 master_sites https://downloads.haskell.org/~${canonicalname}/${version}/ 27 34 distname ${canonicalname}-${version}-${build_arch}-apple-darwin 28 35 worksrcdir ${canonicalname}-${version} 29 use_ bzip2yes36 use_xz yes 30 37 31 checksums ${canonicalname}-${version}-i386-apple-darwin${extract.suffix} \ 32 rmd160 232b3aa4ed9e2ff09d520f4ae02fa572a671178a \ 33 sha256 c1da502fa7d99f3d87370c65d705a7e8ee4c900fdb62df6f71696c5432047059 \ 34 ${canonicalname}-${version}-x86_64-apple-darwin${extract.suffix} \ 35 rmd160 b0870a4a292fae7248f9b0be485affa4a5a76a2d \ 36 sha256 eb0dd19bd5a6eede332d58de219437b9c2b186c72a1fc0c60fa1095b0c2d2789 37 38 post-extract { 39 # Copy clang-wrapper for re-inplace during configure 40 xinstall -m 644 ${filespath}/clang-wrapper ${workpath}/clang-wrapper 41 } 38 checksums ${canonicalname}-${version}-x86_64-apple-darwin${extract.suffix} \ 39 rmd160 4f556937880d853448b482bfc7d7f1a6a0dd220f \ 40 sha256 852781d43d41cd55d02f818fe798bb4d1f7e52f488408167f413f7948cf1e7df 41 42 #post-extract { 43 # # Copy clang-wrapper for re-inplace during configure 44 # xinstall -m 644 ${filespath}/clang-wrapper ${workpath}/clang-wrapper 45 #} 42 46 43 47 # Compilation (of the final non-bootstrap GHC, which uses the C compiler 44 48 # configured in this port) fails with older versions of clang. clang-4.1 from … … 56 60 configure.pre_args --prefix=${prefix}/share/ghc-bootstrap 57 61 configure.args --with-gcc=${configure.cc} 58 62 59 pre-configure {60 # OK so because this binary has been prebuilt for libraries61 # in /usr/lib we search these before macports stuff so (hopefully)62 # weird things don't happen63 configure.ldflags -L/usr/lib64 configure.cppflags -I/usr/include65 66 # patch clang-wrapper and make sure it is used by patching settings.in67 reinplace "s#@clang@#${configure.cc}#g" ${workpath}/clang-wrapper68 reinplace "s#@SettingsCCompilerCommand@#${prefix}/share/ghc-bootstrap/libexec/clang-wrapper#g" ${worksrcpath}/settings.in69 }63 #pre-configure { 64 # # OK so because this binary has been prebuilt for libraries 65 # # in /usr/lib we search these before macports stuff so (hopefully) 66 # # weird things don't happen 67 # configure.ldflags -L/usr/lib 68 # configure.cppflags -I/usr/include 69 # 70 # # patch clang-wrapper and make sure it is used by patching settings.in 71 # reinplace "s#@clang@#${configure.cc}#g" ${workpath}/clang-wrapper 72 # reinplace "s#@SettingsCCompilerCommand@#${prefix}/share/ghc-bootstrap/libexec/clang-wrapper#g" ${worksrcpath}/settings.in 73 #} 70 74 71 75 build {} 72 76 73 77 post-destroot { 74 # install clang-wrapper to libexec 75 xinstall -d -m 755 ${destroot}${prefix}/share/ghc-bootstrap/libexec 76 xinstall -m 755 ${workpath}/clang-wrapper ${destroot}${prefix}/share/ghc-bootstrap/libexec 77 78 # Delete all .dylib files, because their load commands would have to be 79 # fixed or rev-upgrade complains and tries to rebuild the port. However, we 80 # cannot correctly fix all .dylibs, because the have not been built with 81 # -headerpad_max_install_names. Deleting them fixes the problem and GHC 82 # still seems to compile correctly. 83 84 # We also delete all the .html files, because we really don't need the 85 # documentation in a bootstrap port. 86 78 ## install clang-wrapper to libexec 79 #xinstall -d -m 755 ${destroot}${prefix}/share/ghc-bootstrap/libexec 80 #xinstall -m 755 ${workpath}/clang-wrapper ${destroot}${prefix}/share/ghc-bootstrap/libexec 81 82 # Delete all .dylib files, because some of them reference nonexistant 83 # libraries (e.g. 84 # /opt/local/share/ghc-bootstrap/lib/ghc-7.10.3/Cabal_3ux67khMI118y6VpwrFnXN/libHSCabal-1.22.5.0-3ux67khMI118y6VpwrFnXN-ghc7.10.3.dylib 85 # references 86 # /usr/local/lib/gcc/5/libgcc_s.1.dylib 87 # which does not exist) and rev-upgrade complains and tries to rebuild the 88 # port. Deleting them breaks bootstrapping using dynamic libraries in GHC, 89 # but since the static libraries are still there, that is not a serious 90 # problem. 91 set nametool "install_name_tool -change /usr/local/lib/gcc/5/libgcc_s.1.dylib /usr/lib/libgcc_s.1.dylib" 87 92 fs-traverse f ${destroot}${prefix} { 88 93 if {[file isfile ${f}]} { 89 94 set ext [file extension ${f}] 90 if {${ext} eq ". html" || ${ext} eq ".dylib"} {91 delete ${f}95 if {${ext} eq ".dylib"} { 96 system "${nametool} ${f}" 92 97 } 93 98 } 94 99 } 100 fs-traverse f ${destroot}${prefix}/share/ghc-bootstrap/lib/ghc-${version}/bin { 101 if {[file type $f] eq "file"} { 102 system "${nametool} ${f}" 103 } 104 } 105 106 # We also delete $prefix/share/ghc-bootstrap/share/doc, because we 107 # really don't need the documentation in a bootstrap port. 108 delete ${destroot}${prefix}/share/ghc-bootstrap/share/doc 95 109 } 96 110 97 111 livecheck.type none