summaryrefslogtreecommitdiff
path: root/graphics/qslim
diff options
context:
space:
mode:
authorYing-Chieh Liao <ijliao@FreeBSD.org>2002-12-29 05:16:06 +0000
committerYing-Chieh Liao <ijliao@FreeBSD.org>2002-12-29 05:16:06 +0000
commit38aff81bad813683ca1f83efca6abe5176732d45 (patch)
tree636b28fe1facb85752059eff8acd49406432545b /graphics/qslim
parent- Fix MASTER_SITES (diff)
fix build on -current
PR: 46593 Submitted by: Ports Fury
Notes
Notes: svn path=/head/; revision=71969
Diffstat (limited to 'graphics/qslim')
-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>