aboutsummaryrefslogtreecommitdiffstats
path: root/net/licq
diff options
context:
space:
mode:
authordinoex <dinoex@FreeBSD.org>2002-09-15 02:07:29 +0800
committerdinoex <dinoex@FreeBSD.org>2002-09-15 02:07:29 +0800
commit21670e4c49367349dc15842ef9517c026e802d00 (patch)
tree512eec95059aad271e4dd90c493ba8c5a9fa0a67 /net/licq
parentcb65a733bddcb851e512be28a6d1b9cc3ef53943 (diff)
downloadfreebsd-ports-graphics-21670e4c49367349dc15842ef9517c026e802d00.tar.gz
freebsd-ports-graphics-21670e4c49367349dc15842ef9517c026e802d00.tar.zst
freebsd-ports-graphics-21670e4c49367349dc15842ef9517c026e802d00.zip
Fix some GCC problems in CURRENT
Diffstat (limited to 'net/licq')
-rw-r--r--net/licq/Makefile3
-rw-r--r--net/licq/Makefile.inc5
2 files changed, 7 insertions, 1 deletions
diff --git a/net/licq/Makefile b/net/licq/Makefile
index eede69776e3..e518fe012a9 100644
--- a/net/licq/Makefile
+++ b/net/licq/Makefile
@@ -35,5 +35,6 @@ CONFIGURE_ENV+= LDFLAGS=-L${LOCALBASE}/lib
post-install:
@${CAT} ${PKGMESSAGE}
+.include <bsd.port.pre.mk>
.include "${.CURDIR}/Makefile.inc"
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/net/licq/Makefile.inc b/net/licq/Makefile.inc
index db03ee2907f..1a1621a937d 100644
--- a/net/licq/Makefile.inc
+++ b/net/licq/Makefile.inc
@@ -22,3 +22,8 @@ USE_GMAKE= yes
USE_BZIP2= yes
WRKSRC?= ${WRKDIR}/${DISTNAME}/plugins/${PORTNAME}-${PORTVERSION}
PLIST_SUB+= LICQ_DEVEL="@comment "
+.if ${OSVERSION} > 500030
+CPPFLAGS+= -Wno-deprecated
+CONFIGURE_ENV+= CPPFLAGS="${CPPFLAGS}"
+MAKE_ENV+= CPPFLAGS="${CPPFLAGS}"
+.endif