summaryrefslogtreecommitdiffstats
path: root/graphics/libvisual/Makefile
diff options
context:
space:
mode:
authorkwm <kwm@FreeBSD.org>2005-03-20 19:35:32 +0000
committerkwm <kwm@FreeBSD.org>2005-03-20 19:35:32 +0000
commite2b87c62bca6e389135f623c32ec69741aa58f2f (patch)
treec3aefc627400913958d50c7e78ac3e32c0475212 /graphics/libvisual/Makefile
parente4fa1de89f72b244bc9741a8ba3dee8ba86f6605 (diff)
downloadFreeBSD-ports-e2b87c62bca6e389135f623c32ec69741aa58f2f.zip
FreeBSD-ports-e2b87c62bca6e389135f623c32ec69741aa58f2f.tar.gz
Update to version 0.2.0.
Diffstat (limited to 'graphics/libvisual/Makefile')
-rw-r--r--graphics/libvisual/Makefile15
1 files changed, 11 insertions, 4 deletions
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 <bsd.port.pre.mk>
+
+.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 <bsd.port.mk>
+.include <bsd.port.post.mk>
OpenPOWER on IntegriCloud