TORCS.spec

Maciej Świniarski (luzik) luzik w ds.pg.gda.pl
Czw, 3 Kwi 2003, 02:44:32 CEST


torcs-inc.patch:
-------------------------------
--- torcs-1.2.0/Make-config.in.fix      Thu Apr  3 02:18:16 2003
+++ torcs-1.2.0/Make-config.in  Thu Apr  3 02:18:51 2003
@@ -53,7 +53,7 @@
 LDFLAGS +=  @LDFLAGS@ -L${EXPORTBASE}/lib -L/usr/lib

 #INCFLAGS =  -I${EXPORTBASE}/include -I/usr/include
-I/usr/local/include-INCFLAGS =  -I${EXPORTBASE}/include
+INCFLAGS =  -I${EXPORTBASE}/include -I /usr/X11R6/include

 CPP = @CPP@ $(CPPFLAGS) -M -D__DEPEND__
--------------------------------


--------------------------------
--- ./TORCS.spec.fix    Thu Apr  3 02:24:12 2003
+++ ./TORCS.spec        Thu Apr  3 02:33:14 2003
@@ -19,6 +19,7 @@
 Source5:      
http://dl.sourceforge.net/torcs/%{name}-%{version}-data-tracks-base.tgz
 Source6:      
http://dl.sourceforge.net/torcs/%{name}-%{version}-data-cars-extra.tgz
 Source7:      
http://dl.sourceforge.net/torcs/%{name}-%{version}-data-cars-Patwo-Design.tgz
+Patch0:         torcs-inc.patch
 URL:           http://torcs.sourceforge.net/
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)

@@ -30,6 +31,7 @@

 %prep
 %setup -q -n torcs-1.2.0 -a 2 4 5 6
+%patch0 -p1

 %build
 CPPFLAGS="-I/usr/X11R6/include"; export CPPFLAGS
------------------------
ale i tak wywala sie na:
g++ -shared -o libtorcs.so entry.o mainmenu.o splash.o exitmenu.o
optionmenu.o driverconfig.o joystickconfig.o graphconfig.o
controlconfig.o mouseconfig.o  -lplibul
/usr/bin/ld: cannot find -lplibul


-- 
Czcijmy wielkiego Tux'a...
...luzik
#GG 691159
luzik<at>ds.pg.gda.pl



Więcej informacji o liście dyskusyjnej pld-devel-pl