diff options
author | bapt <bapt@FreeBSD.org> | 2014-05-05 17:45:36 +0800 |
---|---|---|
committer | bapt <bapt@FreeBSD.org> | 2014-05-05 17:45:36 +0800 |
commit | 1fa39fd2c3d6f5edbc6d4a9d6f9ceae142a0f184 (patch) | |
tree | 96cc94ba02edcc043c52eb3f26adbc632bbe44d8 /net-mgmt | |
parent | d8575795a2106dcbddc552f756cb3916f113f9e0 (diff) | |
download | freebsd-ports-graphics-1fa39fd2c3d6f5edbc6d4a9d6f9ceae142a0f184.tar.gz freebsd-ports-graphics-1fa39fd2c3d6f5edbc6d4a9d6f9ceae142a0f184.tar.zst freebsd-ports-graphics-1fa39fd2c3d6f5edbc6d4a9d6f9ceae142a0f184.zip |
Convert all :U to :tu and :L to :tl
Since FreeBSD 8.4 and FreeBSD 9.1 make(1) do support :tu and :tl as a
replacement for :U and :L (which has been marked as deprecated)
bmake which is the default on FreeBSD 10+ only support by default
:tu/:tl a hack has been added at the time to support :U and :L to ease
migration. This hack is now not necessary anymore
Note that this makes the ports tree incompatible with make(1) from
FreeBSD 8.3 or earlier
With hat: portmgr
Diffstat (limited to 'net-mgmt')
-rw-r--r-- | net-mgmt/net-snmp/Makefile | 2 | ||||
-rw-r--r-- | net-mgmt/snmp4nagios/Makefile | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/net-mgmt/net-snmp/Makefile b/net-mgmt/net-snmp/Makefile index 4fa7855e52e..f19afc5c0ae 100644 --- a/net-mgmt/net-snmp/Makefile +++ b/net-mgmt/net-snmp/Makefile @@ -225,7 +225,7 @@ post-configure: ${XARGS} ${REINPLACE_CMD} -E -e '/^INSTALL[ ]+=/s|$$| -m 755|' .for hdr in sys/mbuf.h netinet/in_pcb.h netinet/in_var.h netinet/ip6.h @${REINPLACE_CMD} -E -e '\ - s!^.*#undef.*(HAVE_${hdr:U:S/./_/g:S/\//_/g}).*$$!#define \1 1!g' \ + s!^.*#undef.*(HAVE_${hdr:tu:S/./_/g:S/\//_/g}).*$$!#define \1 1!g' \ ${WRKSRC}/include/net-snmp/net-snmp-config.h .endfor .if ${PORT_OPTIONS:MPYTHON} diff --git a/net-mgmt/snmp4nagios/Makefile b/net-mgmt/snmp4nagios/Makefile index 1e7d9b7d7f6..5380fc120d7 100644 --- a/net-mgmt/snmp4nagios/Makefile +++ b/net-mgmt/snmp4nagios/Makefile @@ -5,7 +5,7 @@ PORTNAME= SNMP4Nagios PORTVERSION= 0.4 PORTREVISION= 1 CATEGORIES= net-mgmt -MASTER_SITES= SF/${PORTNAME:L}/${PORTNAME}/${PORTVERSION} +MASTER_SITES= SF/${PORTNAME:tl}/${PORTNAME}/${PORTVERSION} MAINTAINER= zi@FreeBSD.org COMMENT= Vendor specific SNMP plugins for Nagios |