Changeset 8602


Ignore:
Timestamp:
2007-09-03T18:08:44+02:00 (10 years ago)
Author:
nico
Message:

Makefile cleanup

Location:
packages/net
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • packages/net/gpsd/Makefile

    r8468 r8602  
    1616PKG_SOURCE_URL:=http://download.berlios.de/gpsd/ 
    1717PKG_MD5SUM:=3ff80db0e7d906457e5a7a1b04fcb4ec 
    18 PKG_CAT:=zcat 
    19  
    20 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION) 
    21 PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install 
    2218 
    2319PKG_BUILD_DEPENDS=libncurses libnotimpl 
     
    3329endef 
    3430 
    35 define Build/Configure 
    36         $(call Build/Configure/Default, \ 
    37                 --without-x \ 
    38                 , \ 
    39                 CXXFLAGS="$$$$CXXFLAGS -fno-builtin -fno-rtti -nostdinc++"  \ 
    40                 LIBS="-nodefaultlibs -luClibc++ -lnotimpl -lm -lc" \ 
    41         ) 
    42 endef 
     31CONFIGURE_ARGS += \ 
     32        --without-x \ 
     33 
     34CONFIGURE_VARS += \ 
     35        CPPFLAGS="$$$$CPPFLAGS -I$(STAGING_DIR)/usr/include/uClic++" \ 
     36        CXXFLAGS="$$$$CXXFLAGS -fno-builtin -fno-rtti -nostdinc++"  \ 
     37        LIBS="-nodefaultlibs -luClibc++ -lnotimpl" \ 
    4338 
    4439define Build/Compile 
  • packages/net/peerguardian/Makefile

    r6500 r8602  
    2727  SECTION:=net 
    2828  CATEGORY:=Network 
    29   DEPENDS:= +libpthread +libncurses 
     29  DEPENDS:= +libncurses +libpthread +uclibcxx 
    3030  TITLE:=PeerGuardian for Linux 
    3131  DESCRIPTION:=\ 
     
    4040endef 
    4141 
    42 # commas are interpreted by the $(call ...) macro, so define an intermediate variable holding our settings 
    43 PKG_CONFIGURE_LIBS:=-Wl,-Bdynamic,-luClibc++,-Bstatic,-lstdc++,-Bdynamic,-lm,-lc 
    44  
    45 define Build/Configure 
    46         $(call Build/Configure/Default, \ 
    47                 , \ 
    48                 CXXFLAGS="$$$$CXXFLAGS $$$$CPPFLAGS -fno-builtin -fno-rtti" \ 
    49                 LIBS="$(PKG_CONFIGURE_LIBS)" \ 
    50         ) 
    51 endef 
     42CONFIGURE_VARS+= \ 
     43        CXXFLAGS="$$$$CXXFLAGS $$$$CPPFLAGS -fno-builtin -fno-rtti" \ 
     44        LIBS="-nodefaultlibs -luClibc++ -Wl,-Bstatic,-lstdc++,-Bdynamic -lm" \ 
    5245 
    5346define Build/Compile 
Note: See TracChangeset for help on using the changeset viewer.