diff options
author | miwi <miwi@FreeBSD.org> | 2006-11-16 03:51:08 +0800 |
---|---|---|
committer | miwi <miwi@FreeBSD.org> | 2006-11-16 03:51:08 +0800 |
commit | e8561622a13279b57b50ce9d6579195cc960e71d (patch) | |
tree | 1d6c7c4974fd3ff04af2043406483a9efa6da07b /math | |
parent | 279641f48ab71291b797599186ff0dbd1cb05604 (diff) | |
download | freebsd-ports-gnome-e8561622a13279b57b50ce9d6579195cc960e71d.tar.gz freebsd-ports-gnome-e8561622a13279b57b50ce9d6579195cc960e71d.tar.zst freebsd-ports-gnome-e8561622a13279b57b50ce9d6579195cc960e71d.zip |
- Fixed shard library
- Bump PORTREVISION
- INSTALLS_SHLIB => USE_LDCONFIG
PR: ports/105525
Submitted by: Thomas Sandford <freebsduser@paradisegreen.co.uk> (maintainer)
Diffstat (limited to 'math')
-rw-r--r-- | math/simd-viterbi/Makefile | 5 | ||||
-rw-r--r-- | math/simd-viterbi/files/patch-makefile.in | 61 |
2 files changed, 55 insertions, 11 deletions
diff --git a/math/simd-viterbi/Makefile b/math/simd-viterbi/Makefile index 3b2b0695bed2..077ed1295e4a 100644 --- a/math/simd-viterbi/Makefile +++ b/math/simd-viterbi/Makefile @@ -7,6 +7,7 @@ PORTNAME= simd-viterbi PORTVERSION= 2.0.3 +PORTREVISION= 1 CATEGORIES= math MASTER_SITES= http://www.ka9q.net/code/fec/ @@ -15,13 +16,13 @@ COMMENT= A fast Viterbi CODEC library GNU_CONFIGURE= yes USE_GMAKE= yes -INSTALLS_SHLIB= yes +USE_LDCONFIG= yes MAKEFILE= makefile MAN3= simd-viterbi.3 PLIST_FILES= include/parity.h include/viterbi27.h include/viterbi29.h \ - lib/libviterbi.a lib/libviterbi.so lib/libviterbi.so.2.0.1 + lib/libviterbi.a lib/libviterbi.so lib/libviterbi.so.2 PLIST= ${WRKDIR}/pkg-plist .include <bsd.port.pre.mk> diff --git a/math/simd-viterbi/files/patch-makefile.in b/math/simd-viterbi/files/patch-makefile.in index b4d09949ae31..221944132a71 100644 --- a/math/simd-viterbi/files/patch-makefile.in +++ b/math/simd-viterbi/files/patch-makefile.in @@ -1,15 +1,18 @@ ---- makefile.in.orig Wed Jun 29 17:35:03 2005 -+++ makefile.in Wed Jun 29 17:36:53 2005 -@@ -5,7 +5,7 @@ +--- makefile.in.orig Mon Feb 4 18:57:37 2002 ++++ makefile.in Tue Nov 7 16:45:09 2006 +@@ -5,9 +5,9 @@ VPATH = @srcdir@ CC=@CC@ -CFLAGS=@CFLAGS@ -I. -Wall @ARCH_OPTION@ +CFLAGS=@CFLAGS@ -I. -Wall -fPIC - SHARED_LIB=libviterbi.so.@VERSION@ +-SHARED_LIB=libviterbi.so.@VERSION@ ++SHARED_LIB=libviterbi.so.2 STATIC_LIB=@STATIC_LIB@ -@@ -22,13 +22,12 @@ + + CLIB=viterbi27port.o viterbi29port.o parity.o +@@ -22,19 +22,18 @@ ./vtest29 install: all @@ -26,13 +29,53 @@ + $(BSD_INSTALL_MAN) simd-viterbi.3 @mandir@/man3 vtest27: vtest27.o $(STATIC_LIB) - gcc -g -o $@ $^ -@@ -53,7 +52,7 @@ +- gcc -g -o $@ $^ ++ cc -g -o $@ $^ + + vtest29: vtest29.o $(STATIC_LIB) +- gcc -g -o $@ $^ ++ cc -g -o $@ $^ + + vtest27.o: vtest27.c viterbi27.h parity.h + +@@ -53,31 +52,31 @@ ar rv $@ $^ $(SHARED_LIB): $(STATIC_LIB) - gcc -shared -Xlinker -soname=libviterbi.so.@SO_NAME@ -o $@ -Wl,-whole-archive $^ -Wl,-no-whole-archive -lc -+ gcc -shared -fPIC -Xlinker -soname=libviterbi.so.@SO_NAME@ -o $@ -Wl,-whole-archive $^ -Wl,-no-whole-archive -lc ++ cc -shared -fPIC -Xlinker -soname=libviterbi.so.@SO_NAME@ -o $@ -Wl,-whole-archive $^ -Wl,-no-whole-archive -lc viterbi27port.o: viterbi27.c viterbi27.h parity.h - gcc -c $(CFLAGS) -o $@ $< +- gcc -c $(CFLAGS) -o $@ $< ++ cc -c $(CFLAGS) -o $@ $< + + viterbi27mmx.o: viterbi27.c viterbi27.h parity.h +- gcc -c $(CFLAGS) -DMMX=1 -o $@ $< ++ cc -c $(CFLAGS) -DMMX=1 -o $@ $< + + viterbi27sse.o: viterbi27.c viterbi27.h parity.h +- gcc -c $(CFLAGS) -DSSE=1 -o $@ $< ++ cc -c $(CFLAGS) -DSSE=1 -o $@ $< + + viterbi27sse2.o: viterbi27.c viterbi27.h parity.h +- gcc -c $(CFLAGS) -DSSE2=1 -o $@ $< ++ cc -c $(CFLAGS) -DSSE2=1 -o $@ $< + + viterbi29port.o: viterbi29.c viterbi29.h parity.h +- gcc -c $(CFLAGS) -o $@ $< ++ cc -c $(CFLAGS) -o $@ $< + + viterbi29mmx.o: viterbi29.c viterbi29.h parity.h +- gcc -c $(CFLAGS) -DMMX=1 -o $@ $< ++ cc -c $(CFLAGS) -DMMX=1 -o $@ $< + + viterbi29sse.o: viterbi29.c viterbi29.h parity.h +- gcc -c $(CFLAGS) -DSSE=1 -o $@ $< ++ cc -c $(CFLAGS) -DSSE=1 -o $@ $< + + viterbi29sse2.o: viterbi29.c viterbi29.h parity.h +- gcc -c $(CFLAGS) -DSSE2=1 -o $@ $< ++ cc -c $(CFLAGS) -DSSE2=1 -o $@ $< + + clean: + rm -f *.o $(SHARED_LIB) *.a vtest27 vtest29 core |