Changeset 14750 for trunk/dports/graphics
- Timestamp:
- Oct 22, 2005, 2:04:21 AM (14 years ago)
- Location:
- trunk/dports/graphics/netpbm
- Files:
-
- 2 deleted
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/dports/graphics/netpbm/Portfile
r14341 r14750 1 # $Id: Portfile,v 1.1 1 2005/09/30 12:25:37yves Exp $1 # $Id: Portfile,v 1.12 2005/10/22 02:04:20 yves Exp $ 2 2 PortSystem 1.0 3 3 name netpbm 4 version 10.29 5 revision 1 4 version 10.30 6 5 categories graphics 7 6 maintainers yves@opendarwin.org … … 21 20 port:libpng port:jasper 22 21 extract.suffix .tgz 23 checksums md5 606c7ca1f3cd4c722a98961216730aec22 checksums md5 f84620e2733fb13eebe1394948077342 24 23 25 patchfiles patch-lib-Makefile patch-camera.c patch-cameratopam.c 26 post-patch { 27 reinplace "s|INFINITY|infinity|g" \ 28 ${worksrcpath}/editor/pnmaddnoise.c 29 } 24 set gcc-suffix "" 25 patchfiles patch-lib-Makefile 30 26 31 27 configure { 32 if { ${xcodeversion} == "2.0orlower"} {33 set use_gcc "gcc-3.3"34 } else {35 set use_gcc "gcc"36 }37 28 system "cd ${worksrcpath} && 38 29 cat Makefile.config.in ${filespath}/Makefile.config.darwin | 39 sed -e '/@PREFIX@/s@@${prefix}@' -e '/@GCC @/s@@${use_gcc}@' \30 sed -e '/@PREFIX@/s@@${prefix}@' -e '/@GCC_SUFFIX@/s@@${gcc-suffix}@' \ 40 31 > Makefile.config"; 41 32 } … … 53 44 rm -rf README VERSION config_template link misc pkginfo share/man/web" 54 45 } 46 47 # work around bug in Apple's gcc build 4061 48 platform darwin 8 { 49 set fl [open "| gcc --version"] 50 set data [read $fl] 51 if {[regexp "build 4061" $data] } { 52 set gcc-suffix "-3.3" 53 } 54 } -
trunk/dports/graphics/netpbm/files/Makefile.config.darwin
r13587 r14750 7 7 STATICLIB_TOO = y 8 8 NETPBM_RUNTIME_PATH = @PREFIX@/lib 9 CC = @GCC@ -no-cpp-precomp9 CC = gcc@GCC_SUFFIX@ -no-cpp-precomp 10 10 CFLAGS = -O3 -I@PREFIX@/include 11 11 CFLAGS_SHLIB = -fno-common
Note: See TracChangeset
for help on using the changeset viewer.