Date: Mon, 23 Sep 2002 18:33:55 +0200 (CEST) From: Tilman Linneweh <tilman@arved.de> To: FreeBSD-gnats-submit@FreeBSD.org Cc: tilman@arved.de Subject: ports/43294: [Maintainer-update] audio/alienwah Fix build. Message-ID: <200209231633.g8NGXtZZ065620@sauna.arved.de>
next in thread | raw e-mail | index | archive | help
>Number: 43294 >Category: ports >Synopsis: [Maintainer-update] audio/alienwah Fix build. >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Mon Sep 23 09:40:01 PDT 2002 >Closed-Date: >Last-Modified: >Originator: Tilman Linneweh >Release: FreeBSD 4.6-STABLE i386 >Organization: BSD Usergroup Austria >Environment: System: FreeBSD sauna.arved.de 4.6-STABLE FreeBSD 4.6-STABLE #0: Sun Jul 7 20:02:41 CEST 2002 tilman@sauna.arved.de:/usr/obj/usr/src/sys/SAUNA i386 >Description: The New Port PR I sent in spring had a mangled patch, shame on me. This PR hopefully fixes this. >How-To-Repeat: >Fix: --- alienwah.diff begins here --- Index: files/patch-Makefile =================================================================== RCS file: /home/ncvs/ports/audio/alienwah/files/patch-Makefile,v retrieving revision 1.1 diff -u -r1.1 patch-Makefile --- files/patch-Makefile 21 Sep 2002 02:16:11 -0000 1.1 +++ files/patch-Makefile 23 Sep 2002 16:29:30 -0000 @@ -1,40 +1,40 @@ ---- Makefile.orig Sun Jan 6 18:34:24 2002 -+++ Makefile Mon May 13 01:20:42 2002 +--- Makefile.orig Sun Jan 6 18:34:24 2002 ++++ Makefile Mon May 13 01:20:42 2002 @@ -1,25 +1,16 @@ # parts taken from ladspa-sdk src/makefile - --INCLUDES = -I/usr/local/include --#LIBRARIES = -ldl -lm --CFLAGS = $(INCLUDES) -Wall -Werror -O3 -fPIC --CXXFLAGS = $(CFLAGS) -+CXXFLAGS += -I${LOCALBASE}/include - PLUGINS = aw.so --CC = cc --CPP = c++ - + +-INCLUDES = -I/usr/local/include +-#LIBRARIES = -ldl -lm +-CFLAGS = $(INCLUDES) -Wall -Werror -O3 -fPIC +-CXXFLAGS = $(CFLAGS) ++CXXFLAGS += -I${LOCALBASE}/include + PLUGINS = aw.so +-CC = cc +-CPP = c++ + ############################################################################### # # RULES TO BUILD PLUGINS FROM C OR C++ CODE # - + -%.so: %.c -- $(CC) $(CFLAGS) -c $*.c -- $(LD) -o $*.so $*.o -shared +- $(CC) $(CFLAGS) -c $*.c +- $(LD) -o $*.so $*.o -shared - %.so: %.cpp -- $(CPP) $(CXXFLAGS) -c $*.cpp -- $(CPP) -o $*.so $*.o -shared -+ $(CXX) $(CXXFLAGS) -c $*.cpp -+ $(CXX) -o $*.so $*.o -shared - +- $(CPP) $(CXXFLAGS) -c $*.cpp +- $(CPP) -o $*.so $*.o -shared ++ $(CXX) $(CXXFLAGS) -c $*.cpp ++ $(CXX) -o $*.so $*.o -shared + ############################################################################### # @@ -29,7 +20,7 @@ all: $(PLUGINS) - + install: -- cp aw.so /usr/local/lib/ladspa/ -+ cp aw.so ${LOCALBASE}/lib/ladspa/ - +- cp aw.so /usr/local/lib/ladspa/ ++ cp aw.so ${LOCALBASE}/lib/ladspa/ + clean: - -rm -f *.o *.so + -rm -f *.o *.so --- alienwah.diff ends here --- >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?200209231633.g8NGXtZZ065620>