aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/libvisual
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2007-10-17 19:11:54 +0800
committermiwi <miwi@FreeBSD.org>2007-10-17 19:11:54 +0800
commit56c048a0d0b606831244cc8ed13d14626263ba81 (patch)
treef35afd13b0ea1caefb4516ed827fec415dd55d18 /graphics/libvisual
parent61f2755f55ffae5cf6f0fd434df5e4e35a6e1c6f (diff)
downloadfreebsd-ports-gnome-56c048a0d0b606831244cc8ed13d14626263ba81.tar.gz
freebsd-ports-gnome-56c048a0d0b606831244cc8ed13d14626263ba81.tar.zst
freebsd-ports-gnome-56c048a0d0b606831244cc8ed13d14626263ba81.zip
- Fix build with gcc 4.2
- Unbreak PR: 117258 Submitted by: Dominic Fandrey <lon_kamikaze@gmx.de>
Diffstat (limited to 'graphics/libvisual')
-rw-r--r--graphics/libvisual/Makefile13
1 files changed, 3 insertions, 10 deletions
diff --git a/graphics/libvisual/Makefile b/graphics/libvisual/Makefile
index 0860f5a3cdbe..589366c853af 100644
--- a/graphics/libvisual/Makefile
+++ b/graphics/libvisual/Makefile
@@ -12,8 +12,7 @@ PORTNAME= libvisual
PORTVERSION= 0.2.0
PORTREVISION= 1
CATEGORIES= graphics
-MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
-MASTER_SITE_SUBDIR= ${PORTNAME}
+MASTER_SITES= SF
MAINTAINER= ports@FreeBSD.org
COMMENT= Abstraction library that sits between apps and visual plugin
@@ -21,20 +20,14 @@ COMMENT= Abstraction library that sits between apps and visual plugin
USE_XLIBS= yes
USE_GNOME= gnomehack pkgconfig
USE_AUTOTOOLS= libtool:15
-CONFIGURE_ENV= CFLAGS="-I${LOCALBASE}/include -I${X11BASE}/include ${PTHREAD_CFLAGS}" \
+CONFIGURE_ENV= CONFIGURE_ENV= CFLAGS="${CFLAGS} -mmmx -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}
USE_LDCONFIG= yes
-.include <bsd.port.pre.mk>
-
-.if ${OSVERSION} >= 700042 && ${ARCH} == i386
-BROKEN= Does not compile with GCC 4.2 on i386
-.endif
-
post-patch:
@${REINPLACE_CMD} -e 's|-Wno-unused-variable||g' \
-e 's|-O3|${CFLAGS}|g' \
${WRKSRC}/libvisual/Makefile.in
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>