From 4ce7b4acfbf65c53e2850a5d840c03c00c42e445 Mon Sep 17 00:00:00 2001 From: cy Date: Fri, 12 Nov 2010 21:23:23 +0000 Subject: - Libnet11 is only used when SPOOF option is speified. - Mark broken when SPOOF option is specified on amd64 platform. --- sysutils/syslog-ng3/Makefile | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) (limited to 'sysutils/syslog-ng3') diff --git a/sysutils/syslog-ng3/Makefile b/sysutils/syslog-ng3/Makefile index 23fd039c11c2..967ba2fbb013 100644 --- a/sysutils/syslog-ng3/Makefile +++ b/sysutils/syslog-ng3/Makefile @@ -21,15 +21,13 @@ CONFLICTS?= syslog-ng-[0-9]* syslog-ng[0124-9]-[0-9]* \ OPTIONS= SSL "Build with OpenSSL support (from ports)" off \ TCP_WRAPPERS "Build with TCP Wrappers" off \ - SQL "Build with SQL support" off \ + SQL "Build with database (libdbi) support" off \ SPOOF "Build with spoof source support" on \ IPV6 "Build with IPV6 support" on \ - PCRE "Build with PCRE support" on \ - SQL "Build with database (libdbi) support" off + PCRE "Build with PCRE support" on .include -BUILD_DEPENDS= ${LIBNET_CONFIG}:${PORTSDIR}/net/libnet LIB_DEPENDS= evtlog.0:${PORTSDIR}/sysutils/eventlog MAN1= pdbtool.1 @@ -41,8 +39,6 @@ GNU_CONFIGURE= yes USE_GNOME= glib20 SUB_FILES= pkg-message -LIBNET_CONFIG?= ${LOCALBASE}/bin/libnet11-config - CONFIGURE_ARGS= --sysconfdir=${LOCALBASE}/etc --localstatedir=/var/db \ --enable-dynamic-linking --with-libnet=${LOCALBASE}/bin CONFIGURE_ENV= CFLAGS="`${LIBNET_CONFIG} --cflags` -I${LOCALBASE}/include ${CFLAGS}" \ @@ -65,6 +61,11 @@ CONFIGURE_ARGS+= --disable-tcp-wrapper .endif .if defined(WITH_SPOOF) +.if ${ARCH} == "amd64" +BROKEN= Does not compile: relocation R_X86_64_32 can not be used when making a shared object +.endif +BUILD_DEPENDS= ${LIBNET_CONFIG}:${PORTSDIR}/net/libnet +LIBNET_CONFIG?= ${LOCALBASE}/bin/libnet11-config CONFIGURE_ARGS+= --enable-spoof-source .else CONFIGURE_ARGS+= --disable-spoof-source -- cgit