diff options
author | clement <clement@FreeBSD.org> | 2005-06-13 03:10:18 +0800 |
---|---|---|
committer | clement <clement@FreeBSD.org> | 2005-06-13 03:10:18 +0800 |
commit | e5c31ab5b814b638c842f046be80e802b30cf87e (patch) | |
tree | 623cdbe6f05ecd042eee6234b03dfe2883690268 /net/ipvs | |
parent | 1185243159a83296722e25cd1f23356483f3c8ca (diff) | |
download | freebsd-ports-graphics-e5c31ab5b814b638c842f046be80e802b30cf87e.tar.gz freebsd-ports-graphics-e5c31ab5b814b638c842f046be80e802b30cf87e.tar.zst freebsd-ports-graphics-e5c31ab5b814b638c842f046be80e802b30cf87e.zip |
- rewrite IGNORE messages to make them more clear
Diffstat (limited to 'net/ipvs')
-rw-r--r-- | net/ipvs/Makefile | 35 |
1 files changed, 21 insertions, 14 deletions
diff --git a/net/ipvs/Makefile b/net/ipvs/Makefile index 515e12dcec3..ca018ef7f31 100644 --- a/net/ipvs/Makefile +++ b/net/ipvs/Makefile @@ -22,20 +22,6 @@ MAKE_ENV+= MKDIR="${MKDIR}" KMODDIR="/boot/modules" .include <bsd.port.pre.mk> -ONLY_FOR_ARCHS= i386 - -.if ${OSVERSION} == 503001 -FREEBSD_VERSION= 5.3 -.elif (${OSVERSION} == 504000 || defined(TRY_STABLE)) && !defined(PACKAGE_BUILDING) -FREEBSD_VERSION= 5.4 -.else -IGNORE= : You need a patched 5.3-RELEASE of 5.4-RELEASE src tree in ${SRCDIR} -.endif - -patch-system: extract - @${FIND} ${WRKSRC}/patch/${FREEBSD_VERSION}-RELEASE -type f \ - -name "*.patch" -exec ${PATCH} -p0 -d ${SRCDIR} -i {} \; - pre-everything:: @${ECHO_CMD} "LVS on FreeBSD works only with 5.3-RELEASE and 5.4-RELEASE." @${ECHO_CMD} "However it may work on 5-STABLE. If you are running FreeBSD 5.4-STABLE, define" @@ -49,6 +35,27 @@ pre-everything:: @${ECHO_CMD} " 5. install the port" @${ECHO_CMD} " 6. reboot your system" + +.if !defined(SYSTEM_PATCHED) +.if ${OSVERSION} < 503001 || ${OSVERSION} > 600000 || defined(PACKAGE_BUILDING) +IGNORE= Does not compile. If your system is patched to support ipvs, please\ + define SYSTEM_PATCHED +.elif ${OSVERSION} == 503001 +FREEBSD_VERSION= 5.4 +.elif (${OSVERSION} == 504000 || defined(TRY_STABLE)) +FREEBSD_VERSION= 5.4 +.else +IGNORE= is designed for 5.3-RELEASE and 5.4-RELEASE, define TRY_STABLE\ + to test it on 5-STABLE +.endif +.endif + +ONLY_FOR_ARCHS= i386 + +patch-system: extract + @${FIND} ${WRKSRC}/patch/${FREEBSD_VERSION}-RELEASE -type f \ + -name "*.patch" -exec ${PATCH} -p0 -d ${SRCDIR} -i {} \; + post-patch: @${INSTALL_DATA} ${FILESDIR}/Makefile ${WRKSRC} |