Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 88601 Details for
Bug 50209
sci-misc/xppaut-5.85 - analysis and simulation of dynamic systems (New Package)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch which allows setting the compilation flags
gentoo-xppaut-5.96.patch (text/plain), 3.84 KB, created by
José María Fernández González
on 2006-06-07 06:13:01 UTC
(
hide
)
Description:
Patch which allows setting the compilation flags
Filename:
MIME Type:
Creator:
José María Fernández González
Created:
2006-06-07 06:13:01 UTC
Size:
3.84 KB
patch
obsolete
>--- xppaut-5.96/Makefile 2006-02-10 15:17:12.000000000 +0100 >+++ xppaut-5.96-patched/Makefile 2006-06-07 13:07:34.316200000 +0200 >@@ -1,8 +1,8 @@ > # Copyright (C) 1990-2006 Bard Ermentrout > # Edited for Debian GNU/Linux. >-DESTDIR = >-BINDIR = $(DESTDIR)/usr/X11R6/bin >-DOCDIR = $(DESTDIR)/usr/share/doc/xppaut >+#DESTDIR = @destdir@ >+#BINDIR = $(DESTDIR)/usr/X11R6/bin >+#DOCDIR = $(DESTDIR)/usr/share/doc/xppaut > # End Debian Edit > ################################# > # >@@ -20,7 +20,7 @@ > ################################## > # Standard Linux distributions # > ################################## >-CFLAGS= -g -O -DAUTO -DCVODE_YES -DHAVEDLL -DMYSTR=$(VERSION) -I/usr/X11R6/include >+MY_CFLAGS= -DAUTO -DCVODE_YES -DNOERRNO -DHAVEDLL -DMYSTR=$(VERSION) -I/usr/X11R6/include > #CFLAGS= -g -O -DAUTO -DCVODE_YES -DHAVEDLL -DMYSTR=$(VERSION) -I/usr/X11R6/include > LDFLAGS= -L/usr/X11R6/lib > LIBS= -lX11 -lm -ldl >@@ -151,6 +151,10 @@ > menudrive.o userbut.o > AUTOOBJ = autlib1.o autlib2.o autlib3.o autevd.o run_auto.o autpp.o \ > diagram.o auto_nox.o auto_x11.o flowkm_small.o >+ >+.c.o: >+ $(CC) $(CFLAGS) $(MY_CFLAGS) -c $*.c >+ > ###################################################################### > # > # >@@ -185,19 +189,19 @@ > cd mkavi ; make > # > # Edited for Debian GNU/Linux. >-install: xppaut >+install: xppaut xppdoc > # Make necessary installation directories > mkdir -p $(BINDIR) > mkdir -p $(DOCDIR)/html > mkdir -p $(DOCDIR)/examples >- mkdir -p $(DESTDIR)/usr/X11R6/man/man1 >+ mkdir -p $(MANDIR)/man1 > # Put everything home > strip xppaut > cp xppaut $(BINDIR) > cp -r ode* $(DOCDIR)/examples > cp -r help/* $(DOCDIR)/html >- cp README *.pdf $(DOCDIR) >- cp xppaut.1 $(DESTDIR)/usr/X11R6/man/man1 >+ cp README *.pdf $(DOCDIR) >+ cp xppaut.1 $(MANDIR)/man1 > # End Debian Ed > uninstall: > # Remove everything you created >@@ -232,18 +236,24 @@ > # clean > ############################################## > clean: >- rm *.o;rm libI77/*.o;rm cvodesrc/*.o >+ rm -f *.o;rm -f libI77/*.o;rm -f cvodesrc/*.o >+ rm -f *.a;rm -f libI77/*.a;rm -f cvodesrc/*.a >+ find . -name \*.ps | xargs rm >+ find . -name \*.pdf | xargs rm >+ find . -name \*.dvi | xargs rm >+ find . -name \*~ | xargs rm >+ > ####################################################### > # Documentation > ####################################################### > xppdoc: >- latex xpp_doc >- latex xpp_doc >- latex xpp_doc >- dvips -o xpp_doc.ps xpp_doc >- ps2pdf xpp_doc.ps >- latex xpp_sum >- latex xpp_sum >- dvips -o xpp_sum.ps xpp_sum >- ps2pdf xpp_sum.ps >+ latex xpp_doc >+ latex xpp_doc >+ latex xpp_doc >+ dvips -o xpp_doc.ps xpp_doc >+ ps2pdf xpp_doc.ps >+ latex xpp_sum >+ latex xpp_sum >+ dvips -o xpp_sum.ps xpp_sum >+ ps2pdf xpp_sum.ps > >--- xppaut-5.96/cvodesrc/Makefile 1999-09-07 18:18:22.000000000 +0200 >+++ xppaut-5.96-patched/cvodesrc/Makefile 2006-06-07 13:08:53.981178750 +0200 >@@ -6,7 +6,7 @@ > # to ranlib from the commands to create lib/libcvode.a. > .SUFFIXES: .c .o > CC = gcc >-CFLAGS = -O >+MY_CFLAGS = -fPIC -DPIC > > SRCS = cvode.c cvdense.c dense.c cvband.c \ > band.c cvdiag.c cvspgmr.c spgmr.c \ >@@ -17,7 +17,7 @@ > > > .c.o: >- $(CC) $(CFLAGS) -c $*.c >+ $(CC) $(CFLAGS) $(MY_CFLAGS) -c $*.c > > lib libcvode.a: $(OBJS) > (ar rcv libcvode.a $(OBJS); ranlib libcvode.a ; cp libcvode.a ../.) >--- xppaut-5.96/libI77/Makefile 2003-06-23 18:01:33.000000000 +0200 >+++ xppaut-5.96-patched/libI77/Makefile 2006-06-07 13:09:50.492710500 +0200 >@@ -8,7 +8,7 @@ > # wsfe.c:42: structure has no member named `_ptr' > # ... > # Then try the following: >-CFLAGS = -DSkip_f2c_Undefs -DNON_UNIX_STDIO -O >+MY_CFLAGS = -fPIC -DPIC -DSkip_f2c_Undefs -DNON_UNIX_STDIO > # > # I really don't know what the $!@@**! is going on but it works ... > # >@@ -18,7 +18,7 @@ > # this seems to work fine and is much less subject to > # screwups > .c.o: >- $(CC) $(CFLAGS) -c $*.c >+ $(CC) $(CFLAGS) $(MY_CFLAGS) -c $*.c > # > # > # compile, then strip unnecessary symbols
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 50209
:
30849
|
30850
|
88600
| 88601 |
88602