aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/libafterimage/Makefile
diff options
context:
space:
mode:
authorpetef <petef@FreeBSD.org>2002-03-01 06:59:53 +0800
committerpetef <petef@FreeBSD.org>2002-03-01 06:59:53 +0800
commit8c1c94f2f995395421914ef9ac5da5899e8e2326 (patch)
tree77028bfe1c216f3b5d1354ef1a1063dc4453ba66 /graphics/libafterimage/Makefile
parent4cda4246949e631109550055f52b95d97f534fc9 (diff)
downloadfreebsd-ports-gnome-8c1c94f2f995395421914ef9ac5da5899e8e2326.tar.gz
freebsd-ports-gnome-8c1c94f2f995395421914ef9ac5da5899e8e2326.tar.zst
freebsd-ports-gnome-8c1c94f2f995395421914ef9ac5da5899e8e2326.zip
- update to 0.92
- explicitly disable mmx optimization if WITH_MMX isn't given PR: 35411 Submitted by: KATO Tsuguru <tkato@prontomail.com>
Diffstat (limited to 'graphics/libafterimage/Makefile')
-rw-r--r--graphics/libafterimage/Makefile11
1 files changed, 7 insertions, 4 deletions
diff --git a/graphics/libafterimage/Makefile b/graphics/libafterimage/Makefile
index 089261e31c43..6ff93bd3b27e 100644
--- a/graphics/libafterimage/Makefile
+++ b/graphics/libafterimage/Makefile
@@ -7,7 +7,7 @@
#
PORTNAME= libafterimage
-PORTVERSION= 0.91
+PORTVERSION= 0.92
CATEGORIES= graphics
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= afterstep
@@ -23,8 +23,6 @@ LIB_DEPENDS= AfterBase.0:${PORTSDIR}/devel/libafterbase \
tiff.4:${PORTSDIR}/graphics/tiff \
freetype.8:${PORTSDIR}/print/freetype2
-WRKSRC= ${WRKDIR}/libAfterImage
-
USE_X_PREFIX= yes
GNU_CONFIGURE= yes
CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL}
@@ -40,13 +38,18 @@ MAN3= afterimage.3x ascmap.3x asfont.3x asimage.3x asvisual.3x blender.3x \
.include <bsd.port.pre.mk>
.if defined(WITH_MMX) && (${ARCH} == "i386")
-CONFIGURE_ARGS+= --enable--mmx-optimization
+CONFIGURE_ARGS+= --enable-mmx-optimization
+.else
+CONFIGURE_ARGS+= --disable-mmx-optimization
.endif
.if !defined(NOPORTDOCS)
INSTALL_TARGET= install install.doc
.endif
+post-extract:
+ @${LN} -sf ${WRKSRC} ${WRKDIR}/libAfterImage
+
post-patch:
@${PERL} -pi -e 's|-lgif|-lungif|g' ${WRKSRC}/configure
@find ${WRKSRC} -name '*.[ch]' | xargs ${PERL} -pi -e \