openbsd-ports/x11/mplayer/patches/patch-libdha_Makefile
brad bf500972f4 upgrade to mplayer 0.90rc2
- with PLIST changes from me
--
From: MAINTAINER
2003-01-03 23:06:35 +00:00

31 lines
909 B
Plaintext

$OpenBSD: patch-libdha_Makefile,v 1.10 2003/01/03 23:06:36 brad Exp $
--- libdha/Makefile.orig Sat Dec 21 12:49:52 2002
+++ libdha/Makefile Sat Dec 28 21:23:01 2002
@@ -38,15 +38,13 @@ endif
# .PHONY: all clean
.c.o: pci_names.c
- $(CC) -c $(CFLAGS) -o $@ $<
+ PATH=/bin:/usr/bin $(CC) -c $(CFLAGS) -o $@ $<
$(LIBNAME): $(OBJS)
#$(CC) -shared $(SONAME_FLAGS) -o $(LIBNAME) $(OBJS) $(LIBS)
$(CC) -shared -Wl,-soname -Wl,$(LIBNAME) -o $(LIBNAME) $(OBJS) $(LIBS)
- ln -sf $(LIBNAME) $(SHORTNAME)
- ln -sf $(LIBNAME) $(VSHORTNAME)
-all: $(LIBNAME) $(SHORTNAME)
+all: $(LIBNAME)
pci_names.c:
$(AWK) -f pci_db2c.awk oth/pci.db
@@ -69,8 +67,6 @@ depend: pci_names.c
install:
mkdir -p $(prefix)/lib
install -m 755 -s -p $(LIBNAME) $(prefix)/lib/$(LIBNAME)
- rm -f $(prefix)/lib/libdha.so
- ln -sf $(LIBNAME) $(prefix)/lib/$(SHORTNAME)
ifeq ($(TARGET_OS),OpenBSD)
ldconfig -R
else