openbsd-ports/x11/mplayer/patches/patch-libdha_Makefile
biorn 3c9e5b5e7e Update to 1.0pre3
Ok espie@ pvalchev@
2003-12-16 17:17:14 +00:00

22 lines
746 B
Plaintext

$OpenBSD: patch-libdha_Makefile,v 1.12 2003/12/16 17:17:33 biorn Exp $
--- libdha/Makefile.orig 2003-10-22 22:17:23.000000000 +0200
+++ libdha/Makefile 2003-12-09 06:42:01.000000000 +0100
@@ -53,8 +53,6 @@ ifeq ($(TARGET_MINGW32),yes)
else
#$(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)
endif
all: $(LIBNAME) $(SHORTNAME)
@@ -80,8 +78,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