Ignore:
Timestamp:
Mar 13, 2004, 7:28:54 PM (16 years ago)
Author:
gwright
Message:

Removed +packages variant and made multithreaded by default, thanks
to Paulo Moura!
Bug:
Submitted by:
Reviewed by:
Approved by:
Obtained from:

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/lang/swi-prolog/Portfile

    r5587 r5802  
    1 # $Id: Portfile,v 1.8 2004/02/24 23:13:51 gwright Exp $
     1# $Id: Portfile,v 1.9 2004/03/13 19:28:54 gwright Exp $
    22
    33PortSystem      1.0
     
    2121                (Emacs-clone) and graphical debugger).
    2222
    23 homepage        http://www.swi-prolog.org/
     23homepage                http://www.swi-prolog.org/
    2424master_sites    http://www.swi.psy.uva.nl/cgi-bin/nph-download/SWI-Prolog
    2525
     
    3535
    3636configure.env   LDFLAGS=-L${prefix}/lib         \
    37                 CFLAGS=-I${prefix}/include      \
    38                 CPPFLAGS=-I${prefix}/include\
    39                 CIFLAGS=-I${prefix}/include
     37                                CFLAGS=-I${prefix}/include      \
     38                                CPPFLAGS=-I${prefix}/include\
     39                                CIFLAGS=-I${prefix}/include
    4040
    41 configure.args  --prefix=${destroot}/${prefix} \
    42                 --mandir=${destroot}/${prefix}/share/man
     41configure.args  --prefix=${destroot}/${prefix}
    4342
    44 variant packages {
    45         depends_lib-append lib:libjpeg.62:jpeg lib:libX11.6:XFree86
    46         configure.args-append --with-world }
     43default_variants +mt
    4744
    4845variant st {
    4946        configure.args-append --disable-mt }
    5047
    51 pre-fetch {
    52         if { [variant_isset packages] } {
    53                 ui_msg "*************************************************************"
    54                 ui_msg "*  If you use the +packages variant, you must build         *"
    55                 ui_msg "*  SWI-Prolog using the command line interface in an        *"
    56                 ui_msg "*  xterm (or have the DISPLAY environment variable set      *"
    57                 ui_msg "*  and be running an X server). This is because the         *"
    58                 ui_msg "*  configuration process tries to connect to the X server.  *"
    59                 ui_msg "*  Needless to say, this precludes building a binary        *"
    60                 ui_msg "*  package that uses the +packages variant.                 *"
    61                 ui_msg "*************************************************************"
    62         }
    63 }
     48variant mt {
     49        configure.args-append --enable-mt }
    6450
Note: See TracChangeset for help on using the changeset viewer.