]> gitweb @ CieloNegro.org - pkgsrc-ghc.git/commitdiff
Looks like it was a mistake to specify --configure-option=--with-curses-includes...
authorPHO <pho@cielonegro.org>
Sun, 1 May 2011 08:45:47 +0000 (17:45 +0900)
committerPHO <pho@cielonegro.org>
Sun, 1 May 2011 08:45:47 +0000 (17:45 +0900)
Makefile
TODO

index cba47056fe6e7b402e7804ccaae04d98944fe3fd..1639a3d042ed334b1b3f7bb65fce215b1ce00768 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -159,7 +159,7 @@ do-configure:
 # in a non-standard path. Without that, the resulting GHC tries to
 # link programs by executing ld(1) without passing it -L${PREFIX}/lib.
        ${RUN} ${ECHO} "libraries/terminfo_CONFIGURE_OPTS += \
-               --configure-option=--with-curses-includes=${PREFIX}/include/ncurses \
+               --configure-option=--with-curses-includes=${PREFIX}/include \
                --configure-option=--with-curses-libraries=${PREFIX}/lib" >> ${WRKSRC}/mk/build.mk
 # The ghc compiler does normally split the generated asm files into small
 # parts before sending them to gcc, to enable the linker to eliminate
diff --git a/TODO b/TODO
index c8ac429c6d1d0d5158770b968c14fcc7a57504f5..cc117ccb6b3d5895b7d8824107131a95872c0acf 100644 (file)
--- a/TODO
+++ b/TODO
@@ -58,7 +58,7 @@ contents::
     
     INTEGER_LIBRARY = integer-simple
     libraries/terminfo_CONFIGURE_OPTS += \
-        --configure-option=--with-curses-includes=/usr/pkg/include/ncurses \
+        --configure-option=--with-curses-includes=/usr/pkg/include \
         --configure-option=--with-curses-libraries=/usr/pkg/lib
 
 Copy some configuration files from the ``-target`` tree::