From dbc8aa6cc1cb1abadce30cfe133c7a5c2ed2f34b Mon Sep 17 00:00:00 2001 From: Satoshi Asami Date: Wed, 11 Nov 1998 05:37:39 +0000 Subject: Use bsd.port.{pre,post}.mk. Either use them to avoid having to define something already there (PORTOBJFORMAT, OSVERSION) or move stuff from after .include to before. (This is not by any means the complete list but just the ones I've noticed recently.) --- www/transproxy/Makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'www/transproxy') diff --git a/www/transproxy/Makefile b/www/transproxy/Makefile index 146859f4adbc..be1ad1953bed 100644 --- a/www/transproxy/Makefile +++ b/www/transproxy/Makefile @@ -15,10 +15,11 @@ MAINTAINER= peter@FreeBSD.ORG ALL_TARGET= tproxy +.include + # This has only been tested with -current, although it might work if you # can get the ipfilter package to build on a 2.2.x system. YMMV. # ftp://cheops.anu.edu.au/pub/net/firewall/ip-filter/ -OSVERSION!= sysctl -n kern.osreldate .if ${OSVERSION} < 300000 BROKEN= "transproxy requires ipfilter, available in 3.0 or later" .endif @@ -26,4 +27,4 @@ BROKEN= "transproxy requires ipfilter, available in 3.0 or later" do-install: cd ${WRKSRC}; ${INSTALL_PROGRAM} ${WRKSRC}/tproxy ${PREFIX}/sbin -.include +.include -- cgit v1.2.3