with two changes by me: -disabled symbol versioning - this didn't work correctly for me -changed PKGVERSION to start with the release date, so that it sorts correctly against the snapshots we had before vlc-1.0.6 does still build, but can be updated now
33 lines
1.2 KiB
Text
33 lines
1.2 KiB
Text
$NetBSD: patch-ad,v 1.9 2011/01/17 16:51:05 drochner Exp $
|
|
|
|
--- subdir.mak.orig 2010-03-17 23:43:05.000000000 +0900
|
|
+++ subdir.mak 2011-01-05 17:06:02.000000000 +0900
|
|
@@ -59,7 +59,7 @@
|
|
|
|
install-lib$(NAME)-shared: $(SUBDIR)$(SLIBNAME)
|
|
$(Q)mkdir -p "$(SHLIBDIR)"
|
|
- $$(INSTALL) -m 755 $$< "$(SHLIBDIR)/$(SLIBNAME_WITH_VERSION)"
|
|
+ $$(INSTALL) -c -m 755 $$< "$(SHLIBDIR)/$(SLIBNAME_WITH_VERSION)"
|
|
$$(STRIP) "$(SHLIBDIR)/$(SLIBNAME_WITH_VERSION)"
|
|
$(Q)cd "$(SHLIBDIR)" && \
|
|
$(LN_S) $(SLIBNAME_WITH_VERSION) $(SLIBNAME_WITH_MAJOR)
|
|
@@ -69,16 +69,16 @@
|
|
|
|
install-lib$(NAME)-static: $(SUBDIR)$(LIBNAME)
|
|
$(Q)mkdir -p "$(LIBDIR)"
|
|
- $$(INSTALL) -m 644 $$< "$(LIBDIR)"
|
|
+ $$(INSTALL) -c -m 644 $$< "$(LIBDIR)"
|
|
$(LIB_INSTALL_EXTRA_CMD)
|
|
|
|
install-lib$(NAME)-headers: $(addprefix $(SUBDIR),$(HEADERS) $(BUILT_HEADERS))
|
|
$(Q)mkdir -p "$(INCINSTDIR)"
|
|
- $$(INSTALL) -m 644 $$^ "$(INCINSTDIR)"
|
|
+ $$(INSTALL) -c -m 644 $$^ "$(INCINSTDIR)"
|
|
|
|
install-lib$(NAME)-pkgconfig: $(SUBDIR)lib$(NAME).pc
|
|
$(Q)mkdir -p "$(LIBDIR)/pkgconfig"
|
|
- $$(INSTALL) -m 644 $$^ "$(LIBDIR)/pkgconfig"
|
|
+ $$(INSTALL) -c -m 644 $$^ "$(LIBDIR)/pkgconfig"
|
|
|
|
uninstall-libs::
|
|
-$(RM) "$(SHLIBDIR)/$(SLIBNAME_WITH_MAJOR)" \
|