Ticket #11093: diff
File diff, 3.0 KB (added by vinc17@…, 18 years ago) |
---|
-
files/patch-Makefile
1 --- Makefile.orig Thu Jul 29 01:18:56 2004 2 +++ Makefile Tue Sep 7 17:08:51 2004 3 @@ -572,7 +572,7 @@ 1 --- Makefile.orig 2007-02-07 01:35:20.000000000 +0100 2 +++ Makefile 2007-02-18 17:35:50.000000000 +0100 3 @@ -429,9 +429,9 @@ 4 # 5 # When in doubt, leave HAVE_MALLOC_H empty. 6 # 7 -HAVE_MALLOC_H= 8 +#HAVE_MALLOC_H= 9 #HAVE_MALLOC_H= YES 10 -#HAVE_MALLOC_H= NO 11 +HAVE_MALLOC_H= NO 4 12 13 # Determine if we have the <stdlib.h> include file. 14 # 15 @@ -571,7 +571,7 @@ 16 5 17 #INCDIR= /usr/local/include 6 18 #INCDIR= /dev/env/DJDIR/include 7 19 -INCDIR= /usr/include … … 9 21 10 22 # Where to install calc realted things 11 23 # 12 @@ -59 9,15 +599,15 @@24 @@ -598,15 +598,15 @@ 13 25 # 14 26 #BINDIR= /usr/local/bin 15 27 #BINDIR= /dev/env/DJDIR/bin … … 28 40 29 41 #CALC_INCDIR= /usr/local/include/calc 30 42 #CALC_INCDIR= /dev/env/DJDIR/include/calc 31 @@ -6 70,7 +670,7 @@43 @@ -669,7 +669,7 @@ 32 44 # 33 45 # If in doubt, use T= 34 46 # … … 37 49 38 50 # where man pages are installed 39 51 # 40 @@ -68 1,7 +681,7 @@52 @@ -680,7 +680,7 @@ 41 53 #MANDIR= 42 54 #MANDIR= /usr/local/man/man1 43 55 #MANDIR= /usr/man/man1 … … 46 58 #MANDIR= /dev/env/DJDIR/man/man1 47 59 #MANDIR= /usr/man/u_man/man1 48 60 #MANDIR= /usr/contrib/man/man1 61 @@ -785,22 +785,22 @@ 62 # 63 # If in doubt, set USE_READLINE, READLINE_LIB and READLINE_INCLUDE to nothing. 64 # 65 -USE_READLINE= 66 -#USE_READLINE= -DUSE_READLINE 67 +#USE_READLINE= 68 +USE_READLINE= -DUSE_READLINE 69 # 70 -READLINE_LIB= 71 +#READLINE_LIB= 72 #READLINE_LIB= -lreadline -lhistory -lncurses 73 #READLINE_LIB= -L/usr/gnu/lib -lreadline -lhistory -lncurses 74 -#READLINE_LIB= -L/usr/local/lib -lreadline -lhistory -lncurses 75 +READLINE_LIB= -L___PREFIX___/lib -lreadline -lhistory -lncurses 76 # 77 # For Apple OS X: install fink from http://fink.sourceforge.net 78 # and then do a 'fink install readline' and then use: 79 # 80 #READLINE_LIB= -L/sw/lib -lreadline -lhistory -lncurses 81 # 82 -READLINE_INCLUDE= 83 +#READLINE_INCLUDE= 84 #READLINE_INCLUDE= -I/usr/gnu/include 85 -#READLINE_INCLUDE= -I/usr/local/include 86 +READLINE_INCLUDE= -I___PREFIX___/include 87 88 # If $PAGER is not set, use this program to display a help file 89 # -
Portfile
2 2 3 3 PortSystem 1.0 4 4 name calc 5 version 2.12.1. 55 version 2.12.1.8 6 6 categories math 7 7 maintainers toby@opendarwin.org 8 8 description Arbitrary precision calculator … … 20 20 homepage http://www.isthe.com/chongo/tech/comp/calc/ 21 21 platforms darwin 22 22 master_sites sourceforge 23 checksums sha1 7a25ee74a6096413b36281e7ab120ae8103b75db23 checksums sha1 4ff5f8adb638565814319513e8acdf98191cb580 24 24 25 depends_lib port:readline \ 26 port:ncurses 27 25 28 patchfiles patch-Makefile 26 29 post-patch { 27 30 reinplace "s|___PREFIX___|${prefix}|" ${worksrcpath}/Makefile