aboutsummaryrefslogtreecommitdiff
path: root/graphics/xzgv/Makefile
diff options
context:
space:
mode:
authorKirill Ponomarev <krion@FreeBSD.org>2003-08-12 17:50:37 +0000
committerKirill Ponomarev <krion@FreeBSD.org>2003-08-12 17:50:37 +0000
commit931968845043047af748ffe1f01ff4bc42e76a54 (patch)
treefed158a8821bd8c743173690f677d646b148db50 /graphics/xzgv/Makefile
parenta4e17cb4c6339960156502759dfe720f82b6ae65 (diff)
downloadports-931968845043047af748ffe1f01ff4bc42e76a54.tar.gz
ports-931968845043047af748ffe1f01ff4bc42e76a54.zip
Notes
Diffstat (limited to 'graphics/xzgv/Makefile')
-rw-r--r--graphics/xzgv/Makefile11
1 files changed, 9 insertions, 2 deletions
diff --git a/graphics/xzgv/Makefile b/graphics/xzgv/Makefile
index c15796858f48..df8e571388b1 100644
--- a/graphics/xzgv/Makefile
+++ b/graphics/xzgv/Makefile
@@ -17,13 +17,20 @@ COMMENT= An image viewer with thumbnail-based file selector for X
USE_X_PREFIX= yes
USE_GNOME= imlib
+USE_REINPLACE= yes
USE_GMAKE= yes
MAN1= xzgv.1
post-patch:
- @${PERL} -pi -e 's|^CC|#CC|g ; \
+ @${REINPLACE_CMD} -e 's|^CC|#CC|g ; \
s|^CFLAGS|#CFLAGS|g ; \
s|^PREFIX|#PREFIX|g' ${WRKSRC}/config.mk
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if defined(WITH_MMX) && (${ARCH} == "i386")
+CFLAGS+= -DINTERP_MMX
+.endif
+
+.include <bsd.port.post.mk>