--- /dev/null
+--- Makefile.in.orig 2005-11-08 05:58:55.000000000 +1100
++++ Makefile.in 2005-11-08 06:29:02.000000000 +1100
+@@ -148,10 +148,9 @@
+
+ # be aware of libtool when building the objects
+ .SUFFIXES:
+-.SUFFIXES: .c .o .lo
+-.c.o:
++%.o: %.c $(TARGET_PREQ)
+ $(CC) -c $(CPPFLAGS) $(CFLAGS) $<
+-.c.lo:
++%.lo: %.c $(TARGET_PREQ)
+ $(LIBTOOL) --mode=compile --quiet $(CC) -c $(CPPFLAGS) $(CFLAGS) $<
+
+ # the default target
name = pth
version = 2.0.7
-release = 1
+release = 2
groups = System/Libraries
url = http://www.gnu.org/software/pth
applications.
end
-source_dl =
+source_dl = ftp://ftp.gnu.org/gnu/pth/
build
requires
libtool
end
- PARALLELISMFLAGS = # No parallel build
-
configure_options += \
--disable-static \
--mandir=/usr/share/man
+ if "%{DISTRO_ARCH}" == "armv5tel"
+ configure_options += \
+ --with-mctx-mth=sjlj \
+ --with-mctx-dsp=ssjlj \
+ --with-mctx-stk=sas
+ end
+
test
make check
end
packages
package %{name}
- end
-
+
package %{name}-devel
template DEVEL
end