Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 15 Dec 2001 00:01:17 -0800 (PST)
From:      KATO Tsuguru <tkato@prontomail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/32852: Update port: devel/libdsp to 4.2.0
Message-ID:  <200112150801.fBF81H290330@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         32852
>Category:       ports
>Synopsis:       Update port: devel/libdsp to 4.2.0
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sat Dec 15 00:10:01 PST 2001
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        4.4-RELEASE i386
>Organization:
>Environment:
>Description:
- Update to version 4.2.0

>How-To-Repeat:

>Fix:
diff -urN /usr/ports/devel/libdsp/Makefile devel/libdsp/Makefile
--- /usr/ports/devel/libdsp/Makefile	Mon Sep 10 19:28:51 2001
+++ devel/libdsp/Makefile	Tue Dec 11 03:00:46 2001
@@ -7,11 +7,11 @@
 #
 
 PORTNAME=	libdsp
-PORTVERSION=	4.1.1
+PORTVERSION=	4.2.0
 CATEGORIES=	devel audio
 MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
 MASTER_SITE_SUBDIR=	${PORTNAME}
-DISTNAME=	libdsp-src-${PORTVERSION}
+DISTNAME=	${PORTNAME}-src-${PORTVERSION}
 
 MAINTAINER=	ports@FreeBSD.org
 
@@ -19,13 +19,13 @@
 BUILD_DEPENDS=	libtool:${PORTSDIR}/devel/libtool
 
 WRKSRC=		${WRKDIR}/libdsp-src/${PORTNAME:S/dsp/DSP/}-${PORTVERSION}
-MAKEFILE=	Makefile.FreeBSD
-INLINE_VER=	1.2.3
+
 USE_GMAKE=	yes
+MAKE_ENV=	CXX="${CXX}" CXXFLAGS="${CXXFLAGS}" MKDIR="${MKDIR}" \
+		INLINE_VER="${INLINE_VER}"
+MAKEFILE=	Makefile.FreeBSD
 INSTALLS_SHLIB=	yes
 
-post-patch:
-	@${PERL} -pi -e "s|%%INLINE_VER%%|${INLINE_VER}|g ; \
-		s|install -m 644|${INSTALL_DATA}|g" ${WRKSRC}/${MAKEFILE}
+INLINE_VER=	1.2.4
 
 .include <bsd.port.mk>
diff -urN /usr/ports/devel/libdsp/distinfo devel/libdsp/distinfo
--- /usr/ports/devel/libdsp/distinfo	Mon Sep 10 19:28:52 2001
+++ devel/libdsp/distinfo	Tue Dec 11 02:05:24 2001
@@ -1 +1 @@
-MD5 (libdsp-src-4.1.1.tar.gz) = 8c4dbba87b622319e652a8f42bbe4787
+MD5 (libdsp-src-4.2.0.tar.gz) = 985dada301ea0e7b3204c65d3e673a47
diff -urN /usr/ports/devel/libdsp/files/patch-Makefile.FreeBSD devel/libdsp/files/patch-Makefile.FreeBSD
--- /usr/ports/devel/libdsp/files/patch-Makefile.FreeBSD	Sun Sep  9 21:09:32 2001
+++ devel/libdsp/files/patch-Makefile.FreeBSD	Tue Dec 11 03:02:20 2001
@@ -1,19 +1,81 @@
---- Makefile.FreeBSD.orig	Sun Sep  9 19:52:53 2001
-+++ Makefile.FreeBSD	Sun Sep  9 19:54:01 2001
-@@ -17,14 +17,12 @@
+--- Makefile.FreeBSD.orig	Sat Oct 20 09:17:16 2001
++++ Makefile.FreeBSD	Tue Dec 11 03:01:44 2001
+@@ -17,15 +17,8 @@
  # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
  #
  
+-CC = gcc
 -CXX = g++
--CXXFLAGS = -mcpu=pentium -march=pentium -O6 -fomit-frame-pointer -ffast-math -funroll-loops -malign-loops=5 -malign-jumps=5 -malign-functions=5 -mpreferred-stack-boundary=5 -mfancy-math-387 -Wall -Werror #-g
-+CXXFLAGS += -O6 -fomit-frame-pointer -ffast-math -funroll-loops -malign-loops=5 -malign-jumps=5 -malign-functions=5 -mpreferred-stack-boundary=5 -mfancy-math-387 -Wall -Werror #-g
- DEFS = -D_REENTRANT -D_THREAD_SAFE -DBSDSYS -DX86 -DUSE_MEMMOVE
+-
+-CFLAGS = -mcpu=i586 -march=i586 -O6 -fomit-frame-pointer -ffast-math -funroll-loops -malign-loops=5 -malign-jumps=5 -malign-functions=5 -mpreferred-stack-boundary=5 -mfancy-math-387 -Wall -Werror -pthread #-g
+-OPTFLAGS = -march=i686 -O3 -ffast-math -funroll-loops -malign-loops=5 -malign-jumps=5 -malign-functions=5 -mpreferred-stack-boundary=5 -mfancy-math-387 -Wall -Werror #-g
+-CXXFLAGS = $(CFLAGS)
+-
+ # thread safety
+-DEFS = -D_REENTRANT -D_THREAD_SAFE
++#DEFS = -D_REENTRANT -D_THREAD_SAFE
+ # BSD system
+ DEFS += -DBSDSYS
+ # define if your compiler/c-library is ISO C 9x standard compliant
+@@ -37,15 +30,15 @@
+ # x86 architecture specific optimizations
+ #DEFS += -DDSP_X86
+ 
 -INCS = -I. -I/usr/local/include
-+INCS = -I. -I../Inlines-%%INLINE_VER%%
- LDFLAGS = #-g
++INCS = -I. -I../Inlines-${INLINE_VER}
+ 
+-LDFLAGS = -pthread #-g
++#LDFLAGS = -pthread #-g
+ 
  LIBS = -lm #-ldrfftw -ldfftw
+ 
  LIBTOOL = libtool
+ 
 -PREFIX = /usr/local
++PREFIX ?= /usr/local
+ 
+ VERSION = 1:4:0
+ 
+@@ -113,24 +106,24 @@
+ 	$(LIBTOOL) --mode=link $(CXX) $(LDFLAGS) -rpath $(PREFIX)/lib -version-info $(VERSION) -o libdsp.la $(LOBJS) $(LIBS)
  
- VERSION = 1:1:0
+ install: libdsp.la
+-	install -m 755 -d $(PREFIX)/include/dsp
+-	install -m 644 dsp/DSPConfig.hh $(PREFIX)/include/dsp
+-	install -m 644 dsp/DSPOp.hh $(PREFIX)/include/dsp
+-	install -m 644 dsp/DSPVector.hh $(PREFIX)/include/dsp
+-	install -m 644 dsp/Decimator.hh $(PREFIX)/include/dsp
+-	install -m 644 dsp/FFTDecimator.hh $(PREFIX)/include/dsp
+-	install -m 644 dsp/Filter.hh $(PREFIX)/include/dsp
+-	install -m 644 dsp/Filter2.hh $(PREFIX)/include/dsp
+-	install -m 644 dsp/FIRDecimator.hh $(PREFIX)/include/dsp
+-	install -m 644 dsp/Hankel.hh $(PREFIX)/include/dsp
+-	install -m 644 dsp/ReBuffer.hh $(PREFIX)/include/dsp
+-	install -m 644 dsp/ReBuffer2.hh $(PREFIX)/include/dsp
+-	install -m 644 dsp/ReBuffer3.hh $(PREFIX)/include/dsp
+-	install -m 644 dsp/RecDecimator.hh $(PREFIX)/include/dsp
+-	install -m 644 dsp/Transform4.hh $(PREFIX)/include/dsp
+-	install -m 644 dsp/Transform8.hh $(PREFIX)/include/dsp
+-	install -m 644 dsp/TransformS.hh $(PREFIX)/include/dsp
+-	install -m 644 dsp/X86.h $(PREFIX)/include/dsp
++	${MKDIR} $(PREFIX)/include/dsp
++	${BSD_INSTALL_DATA} dsp/DSPConfig.hh $(PREFIX)/include/dsp
++	${BSD_INSTALL_DATA} dsp/DSPOp.hh $(PREFIX)/include/dsp
++	${BSD_INSTALL_DATA} dsp/DSPVector.hh $(PREFIX)/include/dsp
++	${BSD_INSTALL_DATA} dsp/Decimator.hh $(PREFIX)/include/dsp
++	${BSD_INSTALL_DATA} dsp/FFTDecimator.hh $(PREFIX)/include/dsp
++	${BSD_INSTALL_DATA} dsp/Filter.hh $(PREFIX)/include/dsp
++	${BSD_INSTALL_DATA} dsp/Filter2.hh $(PREFIX)/include/dsp
++	${BSD_INSTALL_DATA} dsp/FIRDecimator.hh $(PREFIX)/include/dsp
++	${BSD_INSTALL_DATA} dsp/Hankel.hh $(PREFIX)/include/dsp
++	${BSD_INSTALL_DATA} dsp/ReBuffer.hh $(PREFIX)/include/dsp
++	${BSD_INSTALL_DATA} dsp/ReBuffer2.hh $(PREFIX)/include/dsp
++	${BSD_INSTALL_DATA} dsp/ReBuffer3.hh $(PREFIX)/include/dsp
++	${BSD_INSTALL_DATA} dsp/RecDecimator.hh $(PREFIX)/include/dsp
++	${BSD_INSTALL_DATA} dsp/Transform4.hh $(PREFIX)/include/dsp
++	${BSD_INSTALL_DATA} dsp/Transform8.hh $(PREFIX)/include/dsp
++	${BSD_INSTALL_DATA} dsp/TransformS.hh $(PREFIX)/include/dsp
++	${BSD_INSTALL_DATA} dsp/X86.h $(PREFIX)/include/dsp
+ 	$(LIBTOOL) --mode=install install libdsp.la $(PREFIX)/lib
  
+ libdsp.dep: $(SRCS)
diff -urN /usr/ports/devel/libdsp/pkg-plist devel/libdsp/pkg-plist
--- /usr/ports/devel/libdsp/pkg-plist	Mon Sep 10 19:28:52 2001
+++ devel/libdsp/pkg-plist	Tue Dec 11 02:53:48 2001
@@ -3,9 +3,9 @@
 include/dsp/DSPVector.hh
 include/dsp/Decimator.hh
 include/dsp/FFTDecimator.hh
+include/dsp/FIRDecimator.hh
 include/dsp/Filter.hh
 include/dsp/Filter2.hh
-include/dsp/FIRDecimator.hh
 include/dsp/Hankel.hh
 include/dsp/ReBuffer.hh
 include/dsp/ReBuffer2.hh
@@ -14,8 +14,9 @@
 include/dsp/Transform4.hh
 include/dsp/Transform8.hh
 include/dsp/TransformS.hh
-@dirrm include/dsp
+include/dsp/X86.h
 lib/libdsp.a
 lib/libdsp.la
 lib/libdsp.so
 lib/libdsp.so.1
+@dirrm include/dsp

>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200112150801.fBF81H290330>