From af748fc7e00c06913e07abd2aa9ef24b50ca0ed3 Mon Sep 17 00:00:00 2001 From: Maxim Sobolev Date: Thu, 8 Jun 2000 11:09:07 +0000 Subject: Unbroke port for gcc 2.95 and later. Reported by: jmz --- emulators/basiliskII/Makefile | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'emulators') diff --git a/emulators/basiliskII/Makefile b/emulators/basiliskII/Makefile index e64b7f99077e..cee28fbd5937 100644 --- a/emulators/basiliskII/Makefile +++ b/emulators/basiliskII/Makefile @@ -28,7 +28,6 @@ GLIB_CONFIG?= ${LOCALBASE}/bin/glib12-config ESD_CONFIG?= ${LOCALBASE}/bin/esd-config CONFIGURE_ARGS= --disable-fbdev-dga - CONFIGURE_ENV= GTK_CONFIG="${GTK_CONFIG}" \ GLIB_CONFIG="${GLIB_CONFIG}" \ ESD_CONFIG="${ESD_CONFIG}" \ @@ -38,7 +37,13 @@ CFLAGS+= -D_THREAD_SAFE -I${LOCALBASE}/include/pthread/linuxthreads MAN1= BasiliskII.1 +.include + +.if ${OSVERSION} > 400012 +CFLAGS+= -fpermissive +.endif + post-install: @${CAT} ${PKGMESSAGE} -.include +.include -- cgit v1.2.3