diff options
author | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2014-03-29 14:00:42 +0000 |
---|---|---|
committer | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2014-03-29 14:00:42 +0000 |
commit | 95af41b8f243ba1c94e818bf22195f4f478f3c72 (patch) | |
tree | 25a28ebf22d8c7787c611c9c3c984f0947554eea /graphics/imlib2 | |
parent | a9b55a900664be75faba850650cbea7146efb618 (diff) | |
download | ports-95af41b8f243ba1c94e818bf22195f4f478f3c72.tar.gz ports-95af41b8f243ba1c94e818bf22195f4f478f3c72.zip |
- Remove hidden dependency on X11 when built with X11 disabled
PR: 187147
Submitted by: amdmi3
Approved by: maintainer timeout
Notes
Notes:
svn path=/head/; revision=349510
Diffstat (limited to 'graphics/imlib2')
-rw-r--r-- | graphics/imlib2/Makefile | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/graphics/imlib2/Makefile b/graphics/imlib2/Makefile index b493b126874f..037e5cc6b36b 100644 --- a/graphics/imlib2/Makefile +++ b/graphics/imlib2/Makefile @@ -4,6 +4,7 @@ PORTNAME= imlib2 PORTVERSION= 1.4.6 PORTEPOCH= 2 +PORTREVISION= 1 CATEGORIES= graphics enlightenment MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= enlightenment/imlib2-src/${PORTVERSION} @@ -98,8 +99,9 @@ PLIST_SUB+= ID3="@comment " .if ! ${PORT_OPTIONS:MX11} post-patch: @${REINPLACE_CMD} -e '/MY_LIBS =/s/-lXext -lX11//' \ - ${WRKSRC}/src/lib/Makefile.in - + ${WRKSRC}/src/lib/Makefile.in + @${REINPLACE_CMD} -e '/# ifndef X_DISPLAY_MISSING/,/# endif/ d' \ + ${WRKSRC}/src/lib/Imlib2.h .endif .include <bsd.port.mk> |