Ticket #24669: afni-CC.diff
File afni-CC.diff, 2.7 KB (added by ryandesign (Ryan Carsten Schmidt), 15 years ago) |
---|
-
files/Makefile.i386
11 11 CCDEBS = -DAFNI_DEBUG -DIMSEQ_DEBUG -DDISPLAY_DEBUG -DTHD_DEBUG 12 12 CEXTRA = -Wcomment -Wformat -DUSE_TRACING -DHAVE_XDBE -no-cpp-precomp \ 13 13 -DDONT_USE_MCW_MALLOC 14 CCFAST = cc$(CC_Intel) -DDARWIN $(CEXTRA) -O315 CCVOL = cc$(CC_Intel) -DDARWIN $(CEXTRA) -O216 CC = cc$(CC_Intel) -DDARWIN $(CEXTRA) -O17 CCMIN = cc14 CCFAST = @CC@ $(CC_Intel) -DDARWIN $(CEXTRA) -O3 15 CCVOL = @CC@ $(CC_Intel) -DDARWIN $(CEXTRA) -O2 16 CC = @CC@ $(CC_Intel) -DDARWIN $(CEXTRA) -O 17 CCMIN = @CC@ 18 18 CCD = $(CC) $(CCDEBS) 19 19 20 20 IFLAGS = -I. -I/usr/X11R6/include -IopenMotif-2.2.3/lib -I/opt/local/include … … 34 34 TAR = /usr/bin/tar 35 35 MKDIR = /bin/mkdir 36 36 GZIP = /usr/bin/gzip 37 LD = cc37 LD = @CC@ 38 38 39 39 RM = /bin/rm -f 40 40 MV = /bin/mv -f -
files/Makefile.ppc
10 10 11 11 CCDEBS = -DAFNI_DEBUG -DIMSEQ_DEBUG -DDISPLAY_DEBUG -DTHD_DEBUG 12 12 CEXTRA = -Wcomment -Wformat -DUSE_TRACING -DHAVE_XDBE -no-cpp-precomp -DDONT_USE_MCW_MALLOC 13 CCFAST = cc${CC_PPC} -DDARWIN $(CEXTRA) -O314 CCVOL = cc${CC_PPC} -DDARWIN $(CEXTRA) -O215 CC = cc${CC_PPC} -DDARWIN $(CEXTRA) -O16 CCMIN = cc13 CCFAST = @CC@ ${CC_PPC} -DDARWIN $(CEXTRA) -O3 14 CCVOL = @CC@ ${CC_PPC} -DDARWIN $(CEXTRA) -O2 15 CC = @CC@ ${CC_PPC} -DDARWIN $(CEXTRA) -O 16 CCMIN = @CC@ 17 17 CCD = $(CC) $(CCDEBS) 18 18 IFLAGS = -I. -I/usr/X11R6/include -IopenMotif-2.2.3/lib -I/opt/local/include 19 19 LFLAGS = -L. -L/usr/X11R6/lib -L/opt/local/lib -Wl,-force_flat_namespace 20 20 21 CCSVD = cc-O0 ${CC_PPC} -no-cpp-precomp21 CCSVD = @CC@ -O0 ${CC_PPC} -no-cpp-precomp 22 22 23 23 PLUGIN_SUFFIX = so 24 24 PLUGIN_LFLAGS = -flat_namespace -bundle -undefined suppress … … 32 32 TAR = /usr/bin/tar 33 33 MKDIR = /bin/mkdir 34 34 GZIP = /usr/bin/gzip 35 LD = cc35 LD = @CC@ 36 36 37 37 RM = /bin/rm -f 38 38 MV = /bin/mv -f -
Portfile
56 56 post-patch { 57 57 file copy ${distpath}/3dClustBust.c ${worksrcpath}/ 58 58 reinplace -E "s|AFNI_\[0-9_\]+|${version}|g" ${worksrcpath}/AFNI_label.h 59 reinplace "s|@CC@|${configure.cc}|g" ${worksrcpath}/Makefile 59 60 } 60 61 61 62 pre-build { … … 72 73 # reinplace "s|%%DATADIR%%|${prefix}/share/afni|g" ${workpath}/afni.profile 73 74 } 74 75 76 build.args CC=${configure.cc} 77 75 78 destroot { 76 79 # First, separate files that were all dumped into macosx_bin by the Makefile 77 80 file mkdir ${worksrcpath}/macosx_lib