diff options
author | trasz <trasz@FreeBSD.org> | 2016-06-15 03:27:30 +0800 |
---|---|---|
committer | trasz <trasz@FreeBSD.org> | 2016-06-15 03:27:30 +0800 |
commit | b84a230b4dfff709901d926bac07a52062469e9c (patch) | |
tree | 61927c9452640cd95d55a9c34ae3cfe59db0c673 /graphics/libimg | |
parent | c42ad071ac292353e6c004246748ebf85b8e1fee (diff) | |
download | freebsd-ports-gnome-b84a230b4dfff709901d926bac07a52062469e9c.tar.gz freebsd-ports-gnome-b84a230b4dfff709901d926bac07a52062469e9c.tar.zst freebsd-ports-gnome-b84a230b4dfff709901d926bac07a52062469e9c.zip |
Don't remove X11 linkage; this breaks the upcoming LinuxCNC port.
PR: 210212
Approved by: maintainer (earlier version)
Diffstat (limited to 'graphics/libimg')
-rw-r--r-- | graphics/libimg/Makefile | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/graphics/libimg/Makefile b/graphics/libimg/Makefile index 81e5e3cf7146..a62d2a040628 100644 --- a/graphics/libimg/Makefile +++ b/graphics/libimg/Makefile @@ -3,7 +3,7 @@ PORTNAME= libimg PORTVERSION= 1.4.2 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES?= graphics tk MASTER_SITES= SF/tkimg/tkimg/${PORTVERSION:R} DISTNAME= tkimg${PORTVERSION} @@ -12,7 +12,9 @@ MAINTAINER= mi@aldan.algebra.com COMMENT= Library of image format handlers for Tk4.1 and later BUILD_DEPENDS= dtplite:devel/tcllib -LIB_DEPENDS= libpng.so:graphics/png \ +LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \ + libfreetype.so:print/freetype2 \ + libpng.so:graphics/png \ libtiff.so:graphics/tiff PLIST_SUB+= SHLIB_NAME="${SHLIB_NAME}" \ @@ -20,6 +22,7 @@ PLIST_SUB+= SHLIB_NAME="${SHLIB_NAME}" \ WRKSRC= ${WRKDIR}/tkimg${PORTVERSION:R} USES= autoreconf jpeg tk:tea tar:bzip2 +USE_XORG= x11 xext xft xrender xscrnsaver # We don't need the bundled libraries: EXTRACT_AFTER_ARGS= --exclude '*/libz/*' --exclude zlib \ @@ -37,9 +40,6 @@ post-patch: .endfor post-configure: - # Do not link with X11 -- none of tkimg code uses X directly - ${REINPLACE_CMD} -E -e 's,-L[^[:space:]]+[[:space:]]+-lX[^[:space:]]*,,g' \ - ${WRKSRC}/*/Makefile .for l in jpeg png tiff # Link with -l$l ${REINPLACE_CMD} -E \ |