- this is generic infrastructure, there is no point in special-casing any individual...
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Thu, 20 Sep 2007 11:08:13 +0000 (11:08 -0000)
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Thu, 20 Sep 2007 11:08:13 +0000 (11:08 -0000)
   Don't workaround deficiencies but fix them for real

package/Makefile.autotools.in

index 5a89727f641aef8fad6c1df5a4eac4909a4ecd6e..a2ca927f46d774fc4cfc26064157bdfefdd96b46 100644 (file)
@@ -143,6 +143,9 @@ $(BUILD_DIR)/%/.stamp_extracted:
        $(Q)touch $@
 
 # Patch
+# XXX: FIXME: This has to be done differently and path-independent, i.e. use
+# XXX: FIXME: the dir-part of the stem as base-dir (instead of hardcoding
+# XXX: FIXME: "package/".
 $(BUILD_DIR)/%/.stamp_patched: NAMEVER = $($(PKG)_NAME)-$($(PKG)_VERSION)
 $(BUILD_DIR)/%/.stamp_patched:
        $(call MESSAGE,"Patching")
@@ -158,7 +161,8 @@ $(BUILD_DIR)/%/.stamp_patched:
            fi; \
          fi; \
        else \
-         if test "$(wildcard package/x11r7/$($(PKG)_NAME)/$(NAMEVER)*.patch)" ; then \
+         echo "This must be wrong. Why do you need to special-case _any_ package here? Skipping until this is resolved properly." \
+         if false && test "$(wildcard package/x11r7/$($(PKG)_NAME)/$(NAMEVER)*.patch)" ; then \
            toolchain/patch-kernel.sh $(@D) package/x11r7/$($(PKG)_NAME) $(NAMEVER)\*.patch || exit 1 ; \
          else \
            toolchain/patch-kernel.sh $(@D) package/x11r7/$($(PKG)_NAME) $($(PKG)_NAME)\*.patch || exit 1 ; \