View | Details | Raw Unified | Return to bug 81007
Collapse All | Expand All

(-)rtg/Makefile (-4 / +3 lines)
Lines 14-22 Link Here
14
MAINTAINER=	so14k@so14k.com
14
MAINTAINER=	so14k@so14k.com
15
COMMENT=	A flexible, high-performance SNMP statistics monitoring system
15
COMMENT=	A flexible, high-performance SNMP statistics monitoring system
16
16
17
BUILD_DEPENDS=	\
17
LIB_DEPENDS=	mysqlclient:${PORTSDIR}/databases/mysql41-client \
18
	${LOCALBASE}/lib/mysql/libmysqlclient_r.a:${PORTSDIR}/databases/mysql41-client \
18
		netsnmp.7:${PORTSDIR}/net-mgmt/net-snmp
19
	${LOCALBASE}/sbin/snmpd:${PORTSDIR}/net-mgmt/net-snmp
20
19
21
MAN1=	rtgplot.1 rtgpoll.1
20
MAN1=	rtgplot.1 rtgpoll.1
22
21
Lines 25-30 Link Here
25
CONFIGURE_ARGS+=	--sysconfdir=${PREFIX}/etc/rtg
24
CONFIGURE_ARGS+=	--sysconfdir=${PREFIX}/etc/rtg
26
25
27
pre-configure:
26
pre-configure:
28
	${REINPLACE_CMD} -e "s,-pthread,${PTHREAD_LIBS},g" ${WRKSRC}/configure
27
	@${REINPLACE_CMD} -e 's,-pthread,${PTHREAD_LIBS},g' ${WRKSRC}/configure
29
28
30
.include <bsd.port.mk>
29
.include <bsd.port.mk>
(-)rtg/files/patch-cgilib-cgi.c (+15 lines)
Line 0 Link Here
1
--- cgilib-0.4/cgi.c.orig	Thu Sep 25 08:21:06 2003
2
+++ cgilib-0.4/cgi.c	Sat May 14 01:28:33 2005
3
@@ -33,9 +33,12 @@
4
 #ifdef HAVE_CTYPE_H
5
 # include <ctype.h>
6
 #endif
7
+/* Unnecessary on FreeBSD; malloc.h included in stdlib.h */
8
+/*
9
 #ifdef HAVE_MALLOC_H
10
 # include <malloc.h>
11
 #endif
12
+*/
13
 
14
 #include <cgi.h>
15
 
(-)rtg/files/patch-config-config.h.in (+27 lines)
Line 0 Link Here
1
--- config/config.h.in.orig	Thu Sep 25 08:21:14 2003
2
+++ config/config.h.in	Sat May 14 01:31:47 2005
3
@@ -91,19 +91,19 @@
4
 #undef PACKAGE
5
 
6
 /* Define to the address where bug reports for this package should be sent. */
7
-#undef PACKAGE_BUGREPORT
8
+#undef RTG_PACKAGE_BUGREPORT
9
 
10
 /* Define to the full name of this package. */
11
-#undef PACKAGE_NAME
12
+#undef RTG_PACKAGE_NAME
13
 
14
 /* Define to the full name and version of this package. */
15
-#undef PACKAGE_STRING
16
+#undef RTG_PACKAGE_STRING
17
 
18
 /* Define to the one symbol short name of this package. */
19
-#undef PACKAGE_TARNAME
20
+#undef RTG_PACKAGE_TARNAME
21
 
22
 /* Define to the version of this package. */
23
-#undef PACKAGE_VERSION
24
+#undef RTG_PACKAGE_VERSION
25
 
26
 /* Define as the return type of signal handlers (`int' or `void'). */
27
 #undef RETSIGTYPE

Return to bug 81007