Changeset 8432a86 in freewrt


Ignore:
Timestamp:
Mar 7, 2007, 8:52:17 PM (19 years ago)
Author:
Waldemar Brodkorb <wbx@…>
Children:
6a4b1e56
Parents:
1c8c850
Message:

fix tntnet compile

git-svn-id: svn://www.freewrt.org/trunk/freewrt@2135 afb5a338-a214-0410-bd46-81f09a774fd1

Files:
5 edited

Legend:

Unmodified
Added
Removed
  • mk/pkg-depend.mk

    r1c8c850 r8432a86  
    127127tcpdump-compile: libpcap-compile
    128128tinc-compile: zlib-compile openssl-compile liblzo-compile
    129 tntnet-compile: uclibc++-compile cxxtools-compile
     129tntnet-compile: uclibc++-compile cxxtools-compile openssl-compile zlib-compile
    130130tor-compile: libevent-compile openssl-compile zlib-compile
    131131trafshow: ncurses-compile libpcap-compile
  • package/Config.in

    r1c8c850 r8432a86  
    200200source "package/tinc/Config.in"
    201201source "package/tinyproxy/Config.in"
    202 #source "package/tntnet/Config.in"
     202source "package/tntnet/Config.in"
    203203source "package/tor/Config.in"
    204204source "package/trafshow/Config.in"
  • package/tntnet/Config.in

    r1c8c850 r8432a86  
    44        default n
    55        select FWRT_PACKAGE_UCLIBCXX
     6        select FWRT_PACKAGE_CXXTOOLS
     7        select FWRT_PACKAGE_LIBOPENSSL
    68        select FWRT_PACKAGE_LIBGCC
    7         select FWRT_PACKAGE_CXXTOOLS
     9        select FWRT_PACKAGE_ZLIB
    810        help
    911          Tntnet is a modular, multithreaded webapplicationserver
  • package/tntnet/Makefile

    r1c8c850 r8432a86  
    1818$(eval $(call PKG_template,TNTNET,tntnet,${PKG_VERSION}-${PKG_RELEASE},${ARCH}))
    1919
     20TCXXFLAGS+=             -fno-builtin -fno-rtti -nostdinc++
     21TLDFLAGS+=              -luClibc++ -lc -lm -liconv -lcxxtools -nodefaultlibs
    2022CONFIGURE_STYLE:=       gnu
    21 CONFIGURE_ARGS+=        --with-ssl=no
    22 CONFIGURE_ENV+=         CXXFLAGS="${TCFLAGS} -fno-builtin -fno-rtti -nostdinc++" \
    23                         LDFLAGS="-nodefaultlibs ${TLDFLAGS}" \
    24                         LIBS="-luClibc++ -lc -lm -lz -lcxxtools" \
    25                         ac_cv_prog_CXX="${TARGET_CXX}"
     23CONFIGURE_ARGS+=        --with-ssl=openssl \
     24                        --without-sdk
     25CONFIGURE_ENV+=         LIBS="-luClibc++ -lc -lm -lz -lcxxtools" \
     26                        LDFLAGS="${TLDFLAGS}" \
     27                        CXXFLAGS="${TCXXFLAGS} -nodefaultlibs -L${STAGING_DIR}/usr/lib"
    2628BUILD_STYLE:=           auto
    27 MAKE_FLAGS+=            CCOPT="${TARGET_CFLAGS} -fno-builtin -nostdinc++" \
    28                         LDFLAGS="-nodefaultlibs ${TLDFLAGS}"
    29 INSTALL_STYLE:=         manual
     29INSTALL_STYLE:=         auto
     30XAKE_FLAGS+=            PATH=$(TARGET_PATH)
    3031
    31 do-install:
     32# add workaround because libtool tries to link libstdc++
     33post-configure:
     34        ${SED} 's#postdeps="-lstdc.*#postdeps="-lm -lc"#' \
     35                ${WRKBUILD}/libtool
     36        ${WRKBUILD}/tntnet-config --config=myapp > ${WRKBUILD}/tntnet.conf
     37
     38post-install:
     39        ${INSTALL_DIR} ${IDIR_TNTNET}/etc/tntnet
    3240        ${INSTALL_DIR} ${IDIR_TNTNET}/usr/bin
     41        ${INSTALL_DIR} ${IDIR_TNTNET}/usr/lib
     42        ${INSTALL_DIR} ${IDIR_TNTNET}/usr/lib/tntnet
     43        ${INSTALL_BIN} ${WRKINST}/usr/bin/tntnet ${IDIR_TNTNET}/usr/bin
     44        ${CP} ${WRKINST}/usr/lib/tntnet/* ${IDIR_TNTNET}/usr/lib/tntnet
     45        ${CP} ${WRKINST}/usr/lib/libtntnet_cgi.so.* ${IDIR_TNTNET}/usr/lib
     46        ${CP} ${WRKINST}/usr/lib/libtntnet.so.* ${IDIR_TNTNET}/usr/lib
     47        ${INSTALL_DATA} ${WRKBUILD}/tntnet.conf ${IDIR_TNTNET}/etc/tntnet
     48        ${INSTALL_DATA} ${WRKBUILD}/etc/tntnet/mime.conf ${IDIR_TNTNET}/etc/tntnet
    3349
    3450include ${TOPDIR}/mk/pkg-bottom.mk
  • package/tntnet/ipkg/tntnet.control

    r1c8c850 r8432a86  
    22Priority: optional
    33Section: net
    4 Depends: libgcc, uclibc++
     4Depends: libgcc, uclibc++, cxxtools, zlib, libpthread, gnutls, libiconv
    55Description: a modular, multithreaded webapplicationserver
Note: See TracChangeset for help on using the changeset viewer.