diff options
author | Ying-Chieh Liao <ijliao@FreeBSD.org> | 2002-12-29 05:16:06 +0000 |
---|---|---|
committer | Ying-Chieh Liao <ijliao@FreeBSD.org> | 2002-12-29 05:16:06 +0000 |
commit | 38aff81bad813683ca1f83efca6abe5176732d45 (patch) | |
tree | 636b28fe1facb85752059eff8acd49406432545b /graphics | |
parent | 0653b1a393e3c4854aef380427a87246a6d79580 (diff) | |
download | ports-38aff81bad813683ca1f83efca6abe5176732d45.tar.gz ports-38aff81bad813683ca1f83efca6abe5176732d45.zip |
fix build on -current
PR: 46593
Submitted by: Ports Fury
Notes
Notes:
svn path=/head/; revision=71969
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/qslim/Makefile | 8 |
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> |