[Midnightbsd-cvs] mports: Makefile: Fix OSVERSION.

ctriv at midnightbsd.org ctriv at midnightbsd.org
Thu Jan 1 21:33:30 EST 2009


Log Message:
-----------
Fix OSVERSION.

Modified Files:
--------------
    mports/java/diablo-jre16:
        Makefile (r1.2 -> r1.3)

-------------- next part --------------
Index: Makefile
===================================================================
RCS file: /home/cvs/mports/java/diablo-jre16/Makefile,v
retrieving revision 1.2
retrieving revision 1.3
diff -L java/diablo-jre16/Makefile -L java/diablo-jre16/Makefile -u -r1.2 -r1.3
--- java/diablo-jre16/Makefile
+++ java/diablo-jre16/Makefile
@@ -51,15 +51,15 @@
 
 .include <bsd.port.pre.mk>
 
-.if ${OSVERSION} >= 700000
+.if ${OSVERSION} >= 3000
 JRE_OSREL=	freebsd7
 PLIST_SUB+=	RELEASENOTE="@comment "
-.elif ${OSVERSION} >= 600000
+.elif ${OSVERSION} >= 1000
 BROKEN=		required gethostbyname_r
 JRE_OSREL=	freebsd6
 PLIST_SUB+=	RELEASENOTE=""
 .else
-IGNORE=		only available for FreeBSD 6.x/i386 and FreeBSD 6.x/amd64 and later
+IGNORE=		Somehow, you have a copy of MidnightBSD 0.0.0.  Well done!
 .endif
 
 .if ${ARCH} == "i386"


More information about the Midnightbsd-cvs mailing list