openbsd-ports/multimedia/mjpegtools/patches/patch-utils_Makefile_in
sturm 7bbb24a733 Initial import of mjpegtools 1.6.2
The mjpegtools are a set of programs that can do recording, playback,
editing and eventual MPEG compression of audio and video under Linux.

Although primarily intended for use with capture / playback boards
based on the Zoran ZR36067 MJPEG codec chip, the mjpegtools can easily
be used to process and compress MJPEG video streams captured using
xawtv using simple frame-buffer devices.

WWW: http://mjpeg.sourceforge.net/

from Jacob Meuser <jakemsr at jakemsr.com>
2004-07-09 11:58:39 +00:00

28 lines
896 B
Plaintext

$OpenBSD: patch-utils_Makefile_in,v 1.1.1.1 2004/07/09 11:58:39 sturm Exp $
--- utils/Makefile.in.orig 2004-06-19 16:31:43.000000000 -0700
+++ utils/Makefile.in 2004-06-19 16:37:16.000000000 -0700
@@ -56,13 +56,13 @@ CC = @CC@
CCAS = @CCAS@
CCASFLAGS = @CCASFLAGS@
CCDEPMODE = @CCDEPMODE@
-CFLAGS = @CFLAGS@
+CFLAGS = -fPIC -DPIC @CFLAGS@
CPP = @CPP@
CPPFLAGS = @CPPFLAGS@
CXX = @CXX@
CXXCPP = @CXXCPP@
CXXDEPMODE = @CXXDEPMODE@
-CXXFLAGS = @CXXFLAGS@
+CXXFLAGS = -fPIC -DPIC @CXXFLAGS@
CYGPATH_W = @CYGPATH_W@
DEFS = @DEFS@
DEPDIR = @DEPDIR@
@@ -363,6 +363,7 @@ libmjpegutils.a: $(libmjpegutils_a_OBJEC
-rm -f libmjpegutils.a
$(libmjpegutils_a_AR) libmjpegutils.a $(libmjpegutils_a_OBJECTS) $(libmjpegutils_a_LIBADD)
$(RANLIB) libmjpegutils.a
+ cp libmjpegutils.a libmjpegutils_pic.a
clean-noinstLTLIBRARIES:
-test -z "$(noinst_LTLIBRARIES)" || rm -f $(noinst_LTLIBRARIES)