components/webalizer/Makefile
changeset 1352 1358a1e1ff4c
parent 1130 a4adf8cbfa5d
child 1496 f774cfa29f53
equal deleted inserted replaced
1351:5c589218fa09 1352:1358a1e1ff4c
    53 CONFIGURE_OPTIONS +=	--enable-dns
    53 CONFIGURE_OPTIONS +=	--enable-dns
    54 CONFIGURE_OPTIONS +=	--with-gd=/usr/include/gd2
    54 CONFIGURE_OPTIONS +=	--with-gd=/usr/include/gd2
    55 CONFIGURE_OPTIONS +=	CFLAGS="$(CFLAGS)"
    55 CONFIGURE_OPTIONS +=	CFLAGS="$(CFLAGS)"
    56 CONFIGURE_OPTIONS +=	LDFLAGS="$(LDFLAGS)"
    56 CONFIGURE_OPTIONS +=	LDFLAGS="$(LDFLAGS)"
    57 
    57 
       
    58 # webalizer is defining u_int64_t but also uses db.h
       
    59 # which typedefs it, and parfait isn't happy.
       
    60 # gcc4 may not be as well.
       
    61 ifeq   ($(strip $(PARFAIT_BUILD)),yes)
       
    62 CC += -Du_int64_t=uint64_t
       
    63 CONFIGURE_OPTIONS +=	c_cv_type_u_int64_t=yes
       
    64 endif
       
    65 
    58 # Needed to correctly build that 64-bit library.
    66 # Needed to correctly build that 64-bit library.
    59 LDFLAGS += $(CC_BITS)
    67 LDFLAGS += $(CC_BITS)
    60 
    68 
    61 # common targets
    69 # common targets
    62 build:          $(BUILD_64)
    70 build:          $(BUILD_64)