diff options
-rw-r--r-- | net/AquaGatekeeper/Makefile | 4 | ||||
-rw-r--r-- | net/AquaGatekeeper2/Makefile | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/net/AquaGatekeeper/Makefile b/net/AquaGatekeeper/Makefile index f2c724619df2..34677031b9d7 100644 --- a/net/AquaGatekeeper/Makefile +++ b/net/AquaGatekeeper/Makefile @@ -50,8 +50,10 @@ post-install: .include <bsd.port.pre.mk> -.if ${OSVERSION} > 500000 || ${OSVERSION} < 400000 +.if ${OSVERSION} < 400000 BROKEN= "Supported only on 4.x systems" +.elif ${OSVERSION} >= 500000 +LIB_DEPENDS= c.4:${PORTSDIR}/misc/compat4x .endif .include <bsd.port.post.mk> diff --git a/net/AquaGatekeeper2/Makefile b/net/AquaGatekeeper2/Makefile index f2c724619df2..34677031b9d7 100644 --- a/net/AquaGatekeeper2/Makefile +++ b/net/AquaGatekeeper2/Makefile @@ -50,8 +50,10 @@ post-install: .include <bsd.port.pre.mk> -.if ${OSVERSION} > 500000 || ${OSVERSION} < 400000 +.if ${OSVERSION} < 400000 BROKEN= "Supported only on 4.x systems" +.elif ${OSVERSION} >= 500000 +LIB_DEPENDS= c.4:${PORTSDIR}/misc/compat4x .endif .include <bsd.port.post.mk> |