Changeset 3831


Ignore:
Timestamp:
2006-05-29T00:58:07+02:00 (12 years ago)
Author:
nico
Message:

add dependencies from the NEEDS variable to ipkg/control

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/buildroot-ng/openwrt/package/rules.mk

    r3824 r3831  
    135135        echo "Package: $(1)" > $$(IDIR_$(1))/CONTROL/control 
    136136        echo "Version: $(VERSION)" >> $$(IDIR_$(1))/CONTROL/control 
    137         echo "Depends: $$(IDEPEND_$(1))" >> $$(IDIR_$(1))/CONTROL/control 
     137        #FIXME: there should be a better way to do it 
     138        D="$$(IDEPEND_$(1))"; D="$$$${D}$$$${D:+, }$$(INEED_$(1))"; echo "Depends: $$$${D}" >> $$(IDIR_$(1))/CONTROL/control 
    138139        echo "Source: $(SOURCE)" >> $$(IDIR_$(1))/CONTROL/control 
    139140        echo "Section: $(SECTION)" >> $$(IDIR_$(1))/CONTROL/control 
Note: See TracChangeset for help on using the changeset viewer.