$OpenBSD: patch-libdha_Makefile,v 1.9 2002/10/28 17:56:08 espie Exp $ --- libdha/Makefile.orig Mon Oct 21 16:23:19 2002 +++ libdha/Makefile Fri Oct 25 00:21:12 2002 @@ -33,15 +33,13 @@ endif # .PHONY: all clean .c.o: - $(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 @@ -64,8 +62,6 @@ depend: 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