openbsd-ports/audio/openal/patches/patch-linux_Makefile_in
espie 6ec09bae1d SHARED_LIBS.
Tweak installation procedure to avoid *.so entirely in order not to pollute
PLIST.
2005-12-23 16:10:48 +00:00

33 lines
1.2 KiB
Plaintext

$OpenBSD: patch-linux_Makefile_in,v 1.2 2005/12/23 16:10:48 espie Exp $
--- linux/Makefile.in.orig Thu Jul 24 19:06:38 2003
+++ linux/Makefile.in Fri Dec 23 17:04:50 2005
@@ -1,13 +1,13 @@
INSTALL=@INSTALL@
LN_S=@LN_S@
-DESTDIR=@prefix@/
-DESTINC=$(DESTDIR)include
-DESTLIB=$(DESTDIR)lib
+_DESTDIR=$(DESTDIR)@prefix@/
+DESTINC=$(_DESTDIR)include
+DESTLIB=$(_DESTDIR)lib
MAKE=@MAKE@
MAJOR_VERSION=@MAJOR_VERSION@
MINOR_VERSION=@MINOR_VERSION@
MICRO_VERSION=@MICRO_VERSION@
-VERSION=$(MAJOR_VERSION).$(MINOR_VERSION).$(MICRO_VERSION)
+VERSION=$(MAJOR_VERSION).$(MINOR_VERSION)
SO_EXT=@SHARED_LIBRARY_EXT@
DO_MINOR_LIBS=@DO_MINOR_LIBS@
INSTALL_DEPS=all
@@ -52,8 +52,8 @@ test: all
install_minor_libs:
$(INSTALL) -d -m 755 $(DESTLIB)
$(INSTALL) -m 755 src/libopenal.$(SO_EXT).$(VERSION) $(DESTLIB)
- $(LN_S) -f $(DESTLIB)/libopenal.$(SO_EXT).$(VERSION) $(DESTLIB)/libopenal.$(SO_EXT).$(MAJOR_VERSION)
- $(LN_S) -f $(DESTLIB)/libopenal.$(SO_EXT).$(VERSION) $(DESTLIB)/libopenal.so
+# $(LN_S) -f $(DESTLIB)/libopenal.$(SO_EXT).$(VERSION) $(DESTLIB)/libopenal.$(SO_EXT).$(MAJOR_VERSION)
+# $(LN_S) -f $(DESTLIB)/libopenal.$(SO_EXT).$(VERSION) $(DESTLIB)/libopenal.so
install_major_lib_only:
$(INSTALL) -d -m 755 $(DESTLIB)