aboutsummaryrefslogtreecommitdiffstats
path: root/graphics
diff options
context:
space:
mode:
authorkrion <krion@FreeBSD.org>2003-08-13 01:50:37 +0800
committerkrion <krion@FreeBSD.org>2003-08-13 01:50:37 +0800
commitbffc4ccc19217fb816411a415077189cd911edcf (patch)
treece0ebd8ad1429a8564c95ae171d4e03f2c49a3e2 /graphics
parented535a846305258e1e52146854abf13738995cb4 (diff)
downloadfreebsd-ports-gnome-bffc4ccc19217fb816411a415077189cd911edcf.tar.gz
freebsd-ports-gnome-bffc4ccc19217fb816411a415077189cd911edcf.tar.zst
freebsd-ports-gnome-bffc4ccc19217fb816411a415077189cd911edcf.zip
- PERL -> USE_REINPLACE
- Add WITH_MMX knob PR: 55499 Submitted by: Ports Fury
Diffstat (limited to 'graphics')
-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>