From e2b87c62bca6e389135f623c32ec69741aa58f2f Mon Sep 17 00:00:00 2001 From: kwm Date: Sun, 20 Mar 2005 19:35:32 +0000 Subject: Update to version 0.2.0. --- graphics/libvisual/Makefile | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) (limited to 'graphics/libvisual/Makefile') diff --git a/graphics/libvisual/Makefile b/graphics/libvisual/Makefile index 3c2a22b..c515699 100644 --- a/graphics/libvisual/Makefile +++ b/graphics/libvisual/Makefile @@ -9,7 +9,7 @@ # can work with it. Backwards compatiblity is known to be broken in the past. PORTNAME= libvisual -PORTVERSION= 0.1.7 +PORTVERSION= 0.2.0 CATEGORIES= graphics MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= ${PORTNAME} @@ -21,13 +21,20 @@ USE_XLIBS= yes USE_GNOME= gnomehack pkgconfig USE_REINPLACE= yes USE_LIBTOOL_VER=15 -CONFIGURE_ENV= CFLAGS="-I${LOCALBASE}/include -I${X11BASE}/include" \ - LIBS="-L${LOCALBASE}/lib -L${X11BASE}/lib" +CONFIGURE_ENV= CFLAGS="-I${LOCALBASE}/include -I${X11BASE}/include ${PTHREAD_CFLAGS}" \ + LIBS="-L${LOCALBASE}/lib -L${X11BASE}/lib ${PTHREAD_LIBS}" +CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL} INSTALLS_SHLIB= yes +.include + +.if ${OSVERSION} < 50001 +EXTRA_PATCHES= ${PATCHDIR}/extra-patch-libvisual_lv_cpu.c +.endif + post-patch: @${REINPLACE_CMD} -e 's|-Wno-unused-variable||g' \ -e 's|-O3|${CFLAGS}|g' \ ${WRKSRC}/libvisual/Makefile.in -.include +.include -- cgit v1.1