aboutsummaryrefslogtreecommitdiff
path: root/multimedia/lxdvdrip/files/patch-vamps-Makefile
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2005-09-10 16:52:42 +0000
committerPav Lucistnik <pav@FreeBSD.org>2005-09-10 16:52:42 +0000
commit70827272de8770bca14d872635e0a19936fd3226 (patch)
tree7b3395efaab15ce2f978c36fa1d52f8dadebfb19 /multimedia/lxdvdrip/files/patch-vamps-Makefile
parentf6a2cf09a421e7115d795984432c32e42a3d970a (diff)
downloadports-70827272de8770bca14d872635e0a19936fd3226.tar.gz
ports-70827272de8770bca14d872635e0a19936fd3226.zip
Notes
Diffstat (limited to 'multimedia/lxdvdrip/files/patch-vamps-Makefile')
-rw-r--r--multimedia/lxdvdrip/files/patch-vamps-Makefile35
1 files changed, 35 insertions, 0 deletions
diff --git a/multimedia/lxdvdrip/files/patch-vamps-Makefile b/multimedia/lxdvdrip/files/patch-vamps-Makefile
new file mode 100644
index 000000000000..7379fa60ed7d
--- /dev/null
+++ b/multimedia/lxdvdrip/files/patch-vamps-Makefile
@@ -0,0 +1,35 @@
+--- vamps/Makefile.orig Wed Sep 15 21:21:37 2004
++++ vamps/Makefile Sat Sep 10 18:48:20 2005
+@@ -12,23 +12,20 @@
+ # along with this program; if not, write to the Free Software
+ # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA.
+
+-CC = gcc
+-CFLAGS = -Wall -O3 -fomit-frame-pointer -fexpensive-optimizations \
+- -funroll-loops -march=i686 -mcpu=i686 -falign-functions=4
+-STATIC =
+-STRIP = strip
++CC?= cc
+
++STATIC =
+
+-all: vamps
++all: vamps
+
+-vamps: vamps.o requant.o
+- $(CC) -o $@ $(STATIC) vamps.o requant.o -lpthread
+- $(STRIP) $@
++vamps: vamps.o requant.o
++ $(CC) -o $@ $(STATIC) vamps.o requant.o ${PTHREAD_LIBS} -lm
+
+-requant.o: requant.h putvlc.h getvlc.h
++requant.o: requant.h putvlc.h getvlc.h
+
+ clean:
+- rm -f vamps vamps.o requant.o
++ rm -f vamps vamps.o requant.o
+
+ install:
+- cp vamps /usr/local/bin
++ cp vamps /usr/local/bin
++