aboutsummaryrefslogtreecommitdiffstats
path: root/graphics
diff options
context:
space:
mode:
authorijliao <ijliao@FreeBSD.org>2002-12-29 13:16:06 +0800
committerijliao <ijliao@FreeBSD.org>2002-12-29 13:16:06 +0800
commit22caaa822eda4ca743a21d06ff258a3a8e996595 (patch)
tree4c79df83395589b06a8372e8e8b7a0235c3b2ceb /graphics
parent43690d400bb01e2c9af6e11917e282e83db679ae (diff)
downloadfreebsd-ports-gnome-22caaa822eda4ca743a21d06ff258a3a8e996595.tar.gz
freebsd-ports-gnome-22caaa822eda4ca743a21d06ff258a3a8e996595.tar.zst
freebsd-ports-gnome-22caaa822eda4ca743a21d06ff258a3a8e996595.zip
fix build on -current
PR: 46593 Submitted by: Ports Fury
Diffstat (limited to 'graphics')
-rw-r--r--graphics/qslim/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/graphics/qslim/Makefile b/graphics/qslim/Makefile
index 3cf745d0266a..067e60e94fcd 100644
--- a/graphics/qslim/Makefile
+++ b/graphics/qslim/Makefile
@@ -33,6 +33,12 @@ CPPFLAGS= -I${LOCALBASE}/include -I${X11BASE}/include \
LDFLAGS= -L${LOCALBASE}/lib -lgnugetopt -L${X11BASE}/lib \
${PTHREAD_LIBS}
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} > 500034
+CFLAGS+= -DMIX_ANSI_IOSTREAMS -fpermissive
+.endif
+
post-extact:
@${RM} -f ${WRKSRC}/mixkit/src/getopt.h
@@ -51,4 +57,4 @@ do-install:
@${MKDIR} ${PREFIX}/include/mixkit
${INSTALL_DATA} ${WRKSRC}/mixkit/src/*.h ${PREFIX}/include/mixkit
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>