bf500972f4
- with PLIST changes from me -- From: MAINTAINER
31 lines
909 B
Plaintext
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
|