Index: Makefile =================================================================== RCS file: /home/pcvs/ports/devel/libical/Makefile,v retrieving revision 1.20 diff -u -r1.20 Makefile --- Makefile 22 Aug 2009 00:18:12 -0000 1.20 +++ Makefile 25 Aug 2009 18:45:49 -0000 @@ -7,7 +7,7 @@ PORTNAME= libical PORTVERSION= 0.43 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= devel MASTER_SITES= SF/freeassociation/${PORTNAME}/${PORTNAME}-${PORTVERSION} @@ -20,13 +20,16 @@ USE_GMAKE= yes USE_PERL5_BUILD=yes USE_LDCONFIG= yes -CONFIGURE_ENV+= CPPFLAGS="${CPPFLAGS} -I${LOCALBASE}/include" .if !defined(WITHOUT_PYTHON) CONFIGURE_ARGS= --enable-python=yes +CONFIGURE_ENV+= CFLAGS="${CFLAGS} -I${LOCALBASE}/include -I${LOCALBASE}/include/pth" +CONFIGURE_ENV+= CPPFLAGS="${CPPFLAGS} -I${LOCALBASE}/include -I${LOCALBASE}/include/pth" USE_PYTHON= yes .else CONFIGURE_ARGS= --enable-python=no +CONFIGURE_ENV+= CFLAGS="${CFLAGS} -I${LOCALBASE}/include" +CONFIGURE_ENV+= CPPFLAGS="${CPPFLAGS} -I${LOCALBASE}/include" .endif .include