Lines 21-40
Link Here
|
21 |
USE_XLIBS= yes |
21 |
USE_XLIBS= yes |
22 |
USE_GNOME= gnomehack pkgconfig |
22 |
USE_GNOME= gnomehack pkgconfig |
23 |
USE_AUTOTOOLS= libtool:15 |
23 |
USE_AUTOTOOLS= libtool:15 |
24 |
CONFIGURE_ENV= CFLAGS="-I${LOCALBASE}/include -I${X11BASE}/include ${PTHREAD_CFLAGS}" \ |
24 |
CONFIGURE_ENV= CFLAGS="${CFLAGS} -mmmx -I${LOCALBASE}/include -I${X11BASE}/include ${PTHREAD_CFLAGS}" \ |
25 |
LIBS="-L${LOCALBASE}/lib -L${X11BASE}/lib ${PTHREAD_LIBS}" |
25 |
LIBS="-L${LOCALBASE}/lib -L${X11BASE}/lib ${PTHREAD_LIBS}" |
26 |
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL} |
26 |
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL} |
27 |
USE_LDCONFIG= yes |
27 |
USE_LDCONFIG= yes |
28 |
|
28 |
|
29 |
.include <bsd.port.pre.mk> |
|
|
30 |
|
31 |
.if ${OSVERSION} >= 700042 && ${ARCH} == i386 |
32 |
BROKEN= Does not compile with GCC 4.2 on i386 |
33 |
.endif |
34 |
|
35 |
post-patch: |
29 |
post-patch: |
36 |
@${REINPLACE_CMD} -e 's|-Wno-unused-variable||g' \ |
30 |
@${REINPLACE_CMD} -e 's|-Wno-unused-variable||g' \ |
37 |
-e 's|-O3|${CFLAGS}|g' \ |
31 |
-e 's|-O3|${CFLAGS}|g' \ |
38 |
${WRKSRC}/libvisual/Makefile.in |
32 |
${WRKSRC}/libvisual/Makefile.in |
39 |
|
33 |
|
40 |
.include <bsd.port.post.mk> |
34 |
.include <bsd.port.mk> |