[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#797657: gcc-4.8: please allow building derivatives with same parent rules



Package: gcc-4.8
Version: 4.8.5-1
Severity: wishlist

Hello,

  Find patch attached to allow building your package on derivatives, as it is
  built on parent distribution.

Regards
diff -u gcc-4.8-4.8.4/debian/rules.defs gcc-4.8-4.8.4/debian/rules.defs
--- gcc-4.8-4.8.4/debian/rules.defs
+++ gcc-4.8-4.8.4/debian/rules.defs
@@ -326,14 +326,14 @@
 endif
 
 # build using fsf or linaro
-ifeq ($(distribution),Ubuntu)
+ifeq ($(derivative),Ubuntu)
   ifeq (,$(findstring gnat, $(PKGSOURCE)))
   ifneq (,$(findstring $(DEB_TARGET_ARCH),arm64 armel armhf))
     with_linaro_branch = yes
   endif
   endif
 endif
-ifeq ($(distribution)-$(DEB_TARGET_ARCH),Debian-arm64)
+ifeq ($(derivative)-$(DEB_TARGET_ARCH),Debian-arm64)
   with_linaro_branch = yes
 endif


Reply to: