diff options
author | amdmi3 <amdmi3@FreeBSD.org> | 2017-04-08 00:11:38 +0800 |
---|---|---|
committer | amdmi3 <amdmi3@FreeBSD.org> | 2017-04-08 00:11:38 +0800 |
commit | 7f0d7e8680fa1dcf3610f0486c5e256d95d78360 (patch) | |
tree | b682e6178fb1d760620cb6e946e1bf399f70b335 /sysutils | |
parent | dd49e89b5fad0c55a3497acff60884578e1179bd (diff) | |
download | freebsd-ports-gnome-7f0d7e8680fa1dcf3610f0486c5e256d95d78360.tar.gz freebsd-ports-gnome-7f0d7e8680fa1dcf3610f0486c5e256d95d78360.tar.zst freebsd-ports-gnome-7f0d7e8680fa1dcf3610f0486c5e256d95d78360.zip |
- Remove always true OSVERSION condition
- Always check OPSYS along with OSVERSION
Approved by: portmgr blanket
Diffstat (limited to 'sysutils')
-rw-r--r-- | sysutils/symon/Makefile | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/sysutils/symon/Makefile b/sysutils/symon/Makefile index 4a3c33555726..ce3a6364629a 100644 --- a/sysutils/symon/Makefile +++ b/sysutils/symon/Makefile @@ -60,10 +60,8 @@ post-extract: post-patch: # We need to teach symon about mbstat changes/removal in r253351 and r253361. -.if ${OSVERSION} > 1000000 @${RM} ${WRKSRC}/platform/FreeBSD/sm_mbuf.c -.endif -.if ${OSVERSION} >= 1100070 +.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1100070 @${REINPLACE_CMD} 's|altq/|net/&|' ${WRKSRC}/platform/FreeBSD/sm_pfq.c .endif |