aboutsummaryrefslogtreecommitdiffstats
path: root/graphics
diff options
context:
space:
mode:
authorvanilla <vanilla@FreeBSD.org>2006-09-05 21:20:09 +0800
committervanilla <vanilla@FreeBSD.org>2006-09-05 21:20:09 +0800
commit68cc2e3a480e404d2c4eeff077bb91e32d153336 (patch)
tree1915fdabff362eee010ecc6e1ecbd16b014587a4 /graphics
parent80290d75a449cd7095a7683156f44d50199173bc (diff)
downloadfreebsd-ports-graphics-68cc2e3a480e404d2c4eeff077bb91e32d153336.tar.gz
freebsd-ports-graphics-68cc2e3a480e404d2c4eeff077bb91e32d153336.tar.zst
freebsd-ports-graphics-68cc2e3a480e404d2c4eeff077bb91e32d153336.zip
1: use USE_LDCONFIG.
2: enable amd64 optimize when ARCH == amd64.
Diffstat (limited to 'graphics')
-rw-r--r--graphics/imlib2/Makefile8
1 files changed, 6 insertions, 2 deletions
diff --git a/graphics/imlib2/Makefile b/graphics/imlib2/Makefile
index 5b16e4c9152..2104e4e9a2c 100644
--- a/graphics/imlib2/Makefile
+++ b/graphics/imlib2/Makefile
@@ -7,7 +7,7 @@
PORTNAME= imlib2
PORTVERSION= 1.2.2.001
-PORTREVISION= 0
+PORTREVISION= 1
CATEGORIES= graphics
MASTER_SITES= http://enlightenment.freedesktop.org/files/
@@ -25,7 +25,7 @@ USE_AUTOTOOLS= autoconf:259 libltdl:15 libtool:15
USE_GNOME= gnomehack pkgconfig gnometarget
GNU_CONFIGURE= yes
CONFIGURE_ENV= CPPFLAGS="-I${PREFIX}/include" LDFLAGS="-L${PREFIX}/lib"
-INSTALLS_SHLIB= yes
+USE_LDCONFIG= yes
.include <bsd.port.pre.mk>
@@ -33,6 +33,10 @@ INSTALLS_SHLIB= yes
CONFIGURE_ARGS+= --enable-mmx
.endif
+.if (${ARCH} == "amd64")
+CONFIGURE_ARGS+= --enable-amd64
+.endif
+
.if defined(WITHOUT_X11)
CONFIGURE_ARGS+= --without-x
PKGNAMESUFFIX+= -nox11