Index: head/devel/clanlib1/Makefile =================================================================== --- head/devel/clanlib1/Makefile (revision 446663) +++ head/devel/clanlib1/Makefile (revision 446664) @@ -1,50 +1,49 @@ # Created by: Maxim Sobolev # $FreeBSD$ PORTNAME= clanlib PORTVERSION= 1.0.0 PORTREVISION= 8 CATEGORIES= devel MASTER_SITES= http://www.clanlib.org/download/releases-1.0/ PKGNAMESUFFIX= 1 DISTNAME= ClanLib-${PORTVERSION} MAINTAINER= ports@FreeBSD.org COMMENT= Cross-platform game SDK LICENSE= ZLIB LIB_DEPENDS= libpng.so:graphics/png \ libmikmod.so:audio/libmikmod \ libvorbis.so:audio/libvorbis -USES= alias gmake jpeg libtool pathfix pkgconfig tar:tgz +USES= alias gmake jpeg libtool localbase:ldflags pathfix \ + pkgconfig tar:tgz USE_XORG= x11 xi USE_LDCONFIG= yes USE_SDL= gfx USE_GL= yes -CPPFLAGS+= -I${LOCALBASE}/include -LDFLAGS+= -L${LOCALBASE}/lib GNU_CONFIGURE= yes CONFIGURE_ARGS= --disable-docs \ --enable-clanDisplay \ --enable-clanGL \ --enable-clanSDL \ --enable-clanSound \ --enable-clanNetwork \ --enable-clanGUI \ --enable-clanMikMod \ --enable-clanVorbis \ --enable-getaddr INSTALL_TARGET= install-strip PLIST_SUB+= VER=${PORTVERSION:R} post-patch: @${GREP} -lR "SDL/SDL" ${WRKSRC} | ${XARGS} ${REINPLACE_CMD} -e \ 's|SDL/SDL|SDL|g' @${REINPLACE_CMD} -e 's|@perl_exec@|${PERL}|g' \ ${WRKSRC}/Documentation/Utilities/webbuilder.pl.in .include Index: head/devel/clanlib22/Makefile =================================================================== --- head/devel/clanlib22/Makefile (revision 446663) +++ head/devel/clanlib22/Makefile (revision 446664) @@ -1,55 +1,54 @@ # Created by: Maxim Sobolev # $FreeBSD$ PORTNAME= clanlib PORTVERSION= 2.2.12 PORTREVISION= 8 CATEGORIES= devel MASTER_SITES= http://www.clanlib.org/download/releases-2.0/ PKGNAMESUFFIX= 22 DISTNAME= ClanLib-${PORTVERSION} MAINTAINER= ports@FreeBSD.org COMMENT= Cross-platform game SDK LICENSE= ZLIB LIB_DEPENDS= libpng.so:graphics/png \ libmikmod.so:audio/libmikmod \ libvorbis.so:audio/libvorbis \ libfontconfig.so:x11-fonts/fontconfig \ libpcre.so:devel/pcre -USES= gmake jpeg libtool pathfix pkgconfig sqlite tar:tgz +USES= gmake jpeg libtool localbase:ldflags pathfix pkgconfig \ + sqlite tar:tgz USE_XORG= x11 USE_LDCONFIG= yes USE_GL= yes -CPPFLAGS+= -I${LOCALBASE}/include -LDFLAGS+= -L${LOCALBASE}/lib GNU_CONFIGURE= yes CONFIGURE_ARGS= --disable-docs \ --enable-clanDisplay \ --enable-clanGL \ --enable-clanGL1 \ --enable-clanSound \ --enable-clanDatabase \ --enable-clanSqlite \ --enable-clanRegExp \ --enable-clanNetwork \ --enable-clanGUI \ --enable-clanCSSLayout \ --enable-clanMikMod \ --enable-clanVorbis \ --enable-getaddr INSTALL_TARGET= install-strip PLIST_SUB+= VER=${PORTVERSION:R} \ SWRENDER=${ARCH:N*86:Namd64:C/.+/"@comment "/} \ SHORT_VER=${PORTVERSION:R:R}${PORTVERSION:R:E} post-patch: @${REINPLACE_CMD} -e '/^extra_LIBS_clanSqlite/s|-ldl||g' \ ${WRKSRC}/configure .include