Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 3 Feb 2000 13:08:36 +0100
From:      Alexander Langer <alex@big.endian.de>
To:        ports@freebsd.org
Subject:   fix games/gma (bentofied)
Message-ID:  <20000203130836.B29116@cichlids.cichlids.com>

next in thread | raw e-mail | index | archive | help
The same

>Submitter-Id:   current-users
>Originator:     Alexander Langer
>Organization:   This space is intentionally left blank.
>Confidential:   no
>Synopsis:       fix games/gma (bentofied)
>Severity:       non-critical
>Priority:       low
>Category:       ports
>Release:        FreeBSD 4.0-CURRENT i386
>Class:          change-request
>Environment: 

-current

>Description: 

-D const=  stuff is garbage, as obrien pointed out in my email to -current.

That's because AC_CHECK_CONST is broken somehow.
In fact, we don't need it (patch-aa).
But: We need:
* GMAKE
* AUTOCONF.

Hmm. Since this port is broken for -stable as well with a complete different
error (that I yet don't know why it happens), I marked stuff as BROKEN
for -stable, but for -current it works.
So it can go onto the 4.0-RELEASE CD's.

I'll fix the 3.x failure later, which is a little bit tricky since I have only
one 3.4 box, and this is only a remote-shell.

>How-To-Repeat: 

bento -current buildlog

>Fix: 

--- Makefile.diff begins here ---
--- Makefile.old	Wed Feb  2 18:50:19 2000
+++ Makefile	Wed Feb  2 21:08:40 2000
@@ -13,5 +13,13 @@
 MAINTAINER=    ijliao@csie.nctu.edu.tw
 
 GNU_CONFIGURE= yes
+USE_GMAKE=     yes
+USE_AUTOCONF=  yes
 
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} > 400000
+BROKEN="This port only compiles on 4.0 currently. It'll soon be fixed. for the RELENG_3 branch as well"
+.endif
+
+.include <bsd.port.post.mk>
--- Makefile.diff ends here ---

--- patches/patch-aa begins here ---
--- configure.in.old	Wed Feb  2 20:10:58 2000
+++ configure.in	Wed Feb  2 20:11:14 2000
@@ -36,7 +36,7 @@
 	], , AC_MSG_ERROR([This program expects limits.h to define INT_MIN.]))
 
 dnl Checks for typedefs, structures, and compiler characteristics.
-AC_C_CONST
+dnl AC_C_CONST
 
 dnl Compiler flags
 CXXFLAGS="-Wall -g -O" 
--- patches/patch-aa ends here ---




----- End forwarded message -----

-- 
I doubt, therefore I might be. 


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000203130836.B29116>