Gerald Pfeifer wrote:

> Is there a way to
[...]
>  b) mark a port to notify users not to try using it on -STABLE and
>     -CURRENT?

After a look at
http://www.freebsd.org/porters-handbook/porting-versions.html and at
src/sys/sys/param.h,v in the CVS tree, I made the appended patch.
--
Trevor Johnson
http://jpj.net/~trevor/gpgkey.txt

diff -ruN wine.orig/Makefile wine/Makefile
--- wine.orig/Makefile  Sat Jun 10 19:47:24 2000
+++ wine/Makefile       Tue Jun 13 15:25:38 2000
@@ -24,6 +24,15 @@
 MAN5=          wine.conf.5
 ONLY_FOR_ARCHS=        i386
 
+.include <bsd.port.pre.mk>
+
+# PR misc/19077
+.if !defined(IREADIT)
+.if ${OSVERSION} > 400018
+BROKEN=        "Your ncurses.h may be too new for this port.  Please make sure it is 
+from before 24 May 2000, then restart the build with IREADIT=yes"
+.endif
+.endif
+
 .if !defined(NDEBUG)
 STRIP=
 CFLAGS+=       -g
@@ -102,4 +111,4 @@
        ${ECHO}
        @${SED} s+%%PREFIX%%+${PREFIX}+g <${PKGMESSAGE}
 
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message

Reply via email to