aboutsummaryrefslogtreecommitdiffstats
path: root/emulators/basiliskII
diff options
context:
space:
mode:
authorsobomax <sobomax@FreeBSD.org>2000-06-08 19:09:07 +0800
committersobomax <sobomax@FreeBSD.org>2000-06-08 19:09:07 +0800
commitc139d43c1fd93b802de5d7af97c5d9157f2dcc66 (patch)
tree9fe89ca8996b30829976a139a173a7646b108889 /emulators/basiliskII
parent524ad573d9640e97a869ce8b9f7c4f2957154969 (diff)
downloadfreebsd-ports-gnome-c139d43c1fd93b802de5d7af97c5d9157f2dcc66.tar.gz
freebsd-ports-gnome-c139d43c1fd93b802de5d7af97c5d9157f2dcc66.tar.zst
freebsd-ports-gnome-c139d43c1fd93b802de5d7af97c5d9157f2dcc66.zip
Unbroke port for gcc 2.95 and later.
Reported by: jmz
Diffstat (limited to 'emulators/basiliskII')
-rw-r--r--emulators/basiliskII/Makefile9
1 files changed, 7 insertions, 2 deletions
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 <bsd.port.pre.mk>
+
+.if ${OSVERSION} > 400012
+CFLAGS+= -fpermissive
+.endif
+
post-install:
@${CAT} ${PKGMESSAGE}
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>