Ignore:
Timestamp:
Aug 17, 2005, 12:44:11 AM (14 years ago)
Author:
yves
Message:

Bug: 4243
Submitted by:
Reviewed by:
Approved by:
Obtained from:

Location:
trunk/dports/graphics/netpbm
Files:
1 deleted
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/graphics/netpbm/Portfile

    r12786 r13587  
    1 # $Id: Portfile,v 1.8 2005/06/22 20:56:43 yves Exp $
     1# $Id: Portfile,v 1.9 2005/08/17 00:44:11 yves Exp $
    22PortSystem 1.0
    33name            netpbm
    4 version         10.28
     4version         10.29
    55categories      graphics
    66maintainers     yves@opendarwin.org
     
    2020                port:libpng port:jasper
    2121extract.suffix  .tgz
    22 checksums       md5 18ed6d0f1adf75a748df55d5e924fabb
     22checksums       md5 606c7ca1f3cd4c722a98961216730aec
    2323
    24 patchfiles      patch-lib-Makefile patch-libpm.c
     24patchfiles      patch-lib-Makefile
     25post-patch {
     26    reinplace "s|INFINITY|infinity|g" \
     27        ${worksrcpath}/editor/pnmaddnoise.c
     28}
    2529
    2630configure {
     31    if { ${xcodeversion} == "2.0"} {
     32        set use_gcc "gcc-3.3"
     33    } else {
     34        set use_gcc "gcc"
     35    }
    2736    system "cd ${worksrcpath} &&
    2837        cat Makefile.config.in ${filespath}/Makefile.config.darwin |
    29         sed -e '/@PREFIX@/s@@${prefix}@' >Makefile.config";
     38        sed -e '/@PREFIX@/s@@${prefix}@' -e '/@GCC@/s@@${use_gcc}@' \
     39            > Makefile.config";
    3040}
    3141
    32 build.target    "messages=yes"
     42build.args    "messages=yes"
     43build.target  ""
    3344
    3445destroot {
     
    3748    xinstall -m 755 -d ${destroot}${prefix}/share/netpbm
    3849    system "cd ${destroot}${prefix} &&
    39         mv misc/* share/netpbm &&
     50        mv bin/doc.url misc/* share/netpbm &&
    4051        mv man share &&
    4152        rm -rf README VERSION config_template link misc pkginfo share/man/web"
  • trunk/dports/graphics/netpbm/files/Makefile.config.darwin

    r12786 r13587  
    77STATICLIB_TOO       = y
    88NETPBM_RUNTIME_PATH = @PREFIX@/lib
    9 CC              = gcc -no-cpp-precomp
     9CC              = @GCC@ -no-cpp-precomp
    1010CFLAGS          = -O3 -I@PREFIX@/include
    1111CFLAGS_SHLIB    = -fno-common
Note: See TracChangeset for help on using the changeset viewer.