diff options
author | Tilman Keskinoz <arved@FreeBSD.org> | 2003-11-14 14:22:31 +0000 |
---|---|---|
committer | Tilman Keskinoz <arved@FreeBSD.org> | 2003-11-14 14:22:31 +0000 |
commit | 3e959700b8cc80e1c1f517daa40b2d65135ba654 (patch) | |
tree | 3e333e50ecb1f60d15a5c96dda6300d1a8153d23 /sysutils/ganglia-monitor-core | |
parent | e020c01a30f3a77eee3ab2744ce2f4fb8c8ccc60 (diff) | |
download | ports-3e959700b8cc80e1c1f517daa40b2d65135ba654.tar.gz ports-3e959700b8cc80e1c1f517daa40b2d65135ba654.zip |
Notes
Diffstat (limited to 'sysutils/ganglia-monitor-core')
-rw-r--r-- | sysutils/ganglia-monitor-core/Makefile | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/sysutils/ganglia-monitor-core/Makefile b/sysutils/ganglia-monitor-core/Makefile index f0ab98ff52c7..1ed58a53193e 100644 --- a/sysutils/ganglia-monitor-core/Makefile +++ b/sysutils/ganglia-monitor-core/Makefile @@ -7,6 +7,7 @@ PORTNAME= ganglia-monitor-core PORTVERSION= 2.5.5 +PORTREVISION= 1 CATEGORIES= sysutils net parallel MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= ganglia @@ -24,7 +25,7 @@ LIB_DEPENDS= rrd.0:${PORTSDIR}/net/rrdtool GNU_CONFIGURE= yes CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}" CPPFLAGS= -I${LOCALBASE}/include ${PTHREAD_CFLAGS} -LDFLAGS= -L${LOCALBASE}/lib ${PTHREAD_LIBS} +LDFLAGS= -L${LOCALBASE}/lib .if !defined (WITHOUT_GMETAD) CONFIGURE_ARGS+= --with-gmetad @@ -53,7 +54,7 @@ FIX_CONF_FILES= ${WRKSRC}/lib/ganglia/gmond_config.h \ ${WRKSRC}/gmetad/cmdline.h \ ${WRKSRC}/gmond/cmdline.c \ ${WRKSRC}/gmond/cmdline.h -FIX_DB_FILES= ${WRKSRC}/gmetad/gmetad.c \ +FIX_DB_FILES= ${WRKSRC}/gmetad/conf.c \ ${WRKSRC}/gmetad/gmetad.conf post-patch: @@ -62,6 +63,7 @@ post-patch: ${REINPLACE_CMD} -e "s|/var/lib/ganglia|/var/db/ganglia|g" \ ${FIX_DB_FILES} ${REINPLACE_CMD} -e 's|-pthread||g' ${WRKSRC}/configure + ${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g' ${WRKSRC}/configure # Post-install # |