forked from Lainports/freebsd-ports
Bump portrevision, although the original patch didn't do that (this seems necessary enough to me). Compiles ok on 4.x, 5.x. PR: ports/56721 Submitted by: Simon Barner <barner@in.tum.de> Committed on behalf of lioux@, who is having machine troubles.
22 lines
810 B
Text
22 lines
810 B
Text
--- libavcodec/Makefile.orig Sat Dec 6 02:32:47 2003
|
|
+++ libavcodec/Makefile Sat Dec 6 03:00:14 2003
|
|
@@ -162,7 +162,7 @@
|
|
$(CC) $(SHFLAGS) -Wl,--output-def,$(@:.dll=.def) -o $@ $(OBJS) $(EXTRALIBS) $(AMREXTRALIBS)
|
|
-lib /machine:i386 /def:$(@:.dll=.def)
|
|
else
|
|
- $(CC) $(SHFLAGS) -o $@ $(OBJS) $(EXTRALIBS) $(AMREXTRALIBS)
|
|
+ $(CC) $(SHFLAGS) $(LDFLAGS) -o $@ $(OBJS) $(EXTRALIBS) $(AMREXTRALIBS)
|
|
endif
|
|
|
|
dsputil.o: dsputil.c dsputil.h
|
|
@@ -230,8 +230,8 @@
|
|
install -s -m 755 $(SLIB) "$(prefix)"
|
|
else
|
|
install -d $(prefix)/lib
|
|
- install -s -m 755 $(SLIB) $(prefix)/lib/libavcodec-$(VERSION).so
|
|
- ln -sf libavcodec-$(VERSION).so $(prefix)/lib/libavcodec.so
|
|
+ install -s -m 755 $(SLIB) $(prefix)/lib/libavcodec.so.0
|
|
+ cd $(prefix)/lib && ln -s libavcodec.so.0 libavcodec.so
|
|
ldconfig || true
|
|
endif
|
|
else
|