diff --git a/devel/clanlib1/Makefile b/devel/clanlib1/Makefile index 87e25619696b..e4a7f75bd684 100644 --- a/devel/clanlib1/Makefile +++ b/devel/clanlib1/Makefile @@ -15,7 +15,7 @@ COMMENT= Cross-platform game SDK LICENSE= ZLIB LIB_DEPENDS= libjpeg.so:${PORTSDIR}/graphics/jpeg \ - libpng15.so:${PORTSDIR}/graphics/png \ + libpng.so:${PORTSDIR}/graphics/png \ libmikmod.so:${PORTSDIR}/audio/libmikmod \ libvorbis.so:${PORTSDIR}/audio/libvorbis @@ -25,7 +25,7 @@ USE_LDCONFIG= yes USE_SDL= gfx USE_GL= yes -CPPFLAGS+= -I${LOCALBASE}/include -I${LOCALBASE}/include/libpng15 +CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib GNU_CONFIGURE= yes CONFIGURE_ARGS= --disable-docs \ diff --git a/devel/clanlib22/Makefile b/devel/clanlib22/Makefile index b63944974bea..e8f1e5f741fa 100644 --- a/devel/clanlib22/Makefile +++ b/devel/clanlib22/Makefile @@ -15,7 +15,7 @@ COMMENT= Cross-platform game SDK LICENSE= ZLIB LIB_DEPENDS= libjpeg.so:${PORTSDIR}/graphics/jpeg \ - libpng15.so:${PORTSDIR}/graphics/png \ + libpng.so:${PORTSDIR}/graphics/png \ libmikmod.so:${PORTSDIR}/audio/libmikmod \ libvorbis.so:${PORTSDIR}/audio/libvorbis \ libfontconfig.so:${PORTSDIR}/x11-fonts/fontconfig \ @@ -27,7 +27,7 @@ USE_LDCONFIG= yes USE_GL= yes USE_SQLITE= yes -CPPFLAGS+= -I${LOCALBASE}/include -I${LOCALBASE}/include/libpng15 +CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib GNU_CONFIGURE= yes CONFIGURE_ARGS= --disable-docs \