Date: Mon, 3 Mar 2003 14:59:54 -0500 From: The Anarcat <anarcat@anarcat.ath.cx> To: yb@sainte-barbe.org Cc: freebsd-ports@freebsd.org Subject: no-x11 aguri Message-ID: <20030303195954.GJ28126@localhost>
next in thread | raw e-mail | index | archive | help
--t5C3/nrmPumNj5sH Content-Type: multipart/mixed; boundary="AYsPlKobQGgtCvjI" Content-Disposition: inline --AYsPlKobQGgtCvjI Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Hello! Nice proggie, this aguri thing. But it needs X11. I have worked out a patch to make it a optionnally non-x11 port. I have attached a patch to the makefile and the patch to put in files/ itself. A. --AYsPlKobQGgtCvjI Content-Type: text/plain; charset=us-ascii Content-Description: net/aguri/Makefile.patch Content-Disposition: attachment; filename="aguri.patch" Content-Transfer-Encoding: quoted-printable --- Makefile.orig Mon Mar 3 14:02:28 2003 +++ Makefile Mon Mar 3 14:56:56 2003 @@ -13,7 +13,11 @@ MAINTAINER=3D yb@sainte-barbe.org COMMENT=3D "An Aggregation-based Traffic Profiler" =20 +.if defined(WITHOUT_X11) +EXTRA_PATCHES=3D ${FILESDIR}/without-x11.patch +.else USE_XLIB=3D yes +.endif =20 MAN1=3D aguri.1 =20 --AYsPlKobQGgtCvjI Content-Type: text/plain; charset=us-ascii Content-Description: net/agurit/files/without-x11.patch Content-Disposition: attachment; filename="without-x11.patch" Content-Transfer-Encoding: quoted-printable --- Makefile.orig Mon Mar 3 14:01:42 2003 +++ Makefile Mon Mar 3 14:02:07 2003 @@ -2,15 +2,15 @@ =20 PROG=3D aguri OBJS=3D aguri.o aguri_ip.o aguri_pcap.o aguri_plot.o aguri_tree.o \ - read_pcap.o xtree.o + read_pcap.o =20 # uncomment for non-bsd platforms #COMPAT_INCLUDES=3D -Ibsd-compat =20 CFLAGS=3D -g -O -Wall -DEFINES=3D -DINET6 -DAGURI_STATS -DXTREE $(SYS_DEFINES) # -DDEBUG -INCLUDES=3D -I. -I/usr/X11R6/include $(COMPAT_INCLUDES) $(SYS_INCLUDES) -LIBS=3D -lpcap -L/usr/X11R6/lib -lX11 $(SYS_LIBS) +DEFINES=3D -DINET6 -DAGURI_STATS $(SYS_DEFINES) # -DDEBUG +INCLUDES=3D -I. $(COMPAT_INCLUDES) $(SYS_INCLUDES) +LIBS=3D -lpcap $(SYS_LIBS) =20 all: $(PROG) =20 --AYsPlKobQGgtCvjI-- --t5C3/nrmPumNj5sH Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQE+Y7Q6ttcWHAnWiGcRAvYgAJ9nGBkqSvTgDm5Q+Q64JMi4uerlMQCfe3EH HzV572G0I/Mrow5mvvuytnQ= =BuSf -----END PGP SIGNATURE----- --t5C3/nrmPumNj5sH-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030303195954.GJ28126>