From 3583c697645e82f560de0669ad332dbbe01ed2c5 Mon Sep 17 00:00:00 2001 From: Dirk Meyer Date: Sat, 14 Sep 2002 18:07:29 +0000 Subject: [PATCH] Fix some GCC problems in CURRENT --- net-im/licq/Makefile | 3 ++- net-im/licq/Makefile.inc | 5 +++++ net/licq/Makefile | 3 ++- net/licq/Makefile.inc | 5 +++++ 4 files changed, 14 insertions(+), 2 deletions(-) diff --git a/net-im/licq/Makefile b/net-im/licq/Makefile index eede69776e3e..e518fe012a9b 100644 --- a/net-im/licq/Makefile +++ b/net-im/licq/Makefile @@ -35,5 +35,6 @@ CONFIGURE_ENV+= LDFLAGS=-L${LOCALBASE}/lib post-install: @${CAT} ${PKGMESSAGE} +.include .include "${.CURDIR}/Makefile.inc" -.include +.include diff --git a/net-im/licq/Makefile.inc b/net-im/licq/Makefile.inc index db03ee2907f7..1a1621a937dc 100644 --- a/net-im/licq/Makefile.inc +++ b/net-im/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 diff --git a/net/licq/Makefile b/net/licq/Makefile index eede69776e3e..e518fe012a9b 100644 --- a/net/licq/Makefile +++ b/net/licq/Makefile @@ -35,5 +35,6 @@ CONFIGURE_ENV+= LDFLAGS=-L${LOCALBASE}/lib post-install: @${CAT} ${PKGMESSAGE} +.include .include "${.CURDIR}/Makefile.inc" -.include +.include diff --git a/net/licq/Makefile.inc b/net/licq/Makefile.inc index db03ee2907f7..1a1621a937dc 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