diff options
author | dinoex <dinoex@FreeBSD.org> | 2014-04-05 22:19:32 +0800 |
---|---|---|
committer | dinoex <dinoex@FreeBSD.org> | 2014-04-05 22:19:32 +0800 |
commit | 6f7fed87d620790996003b19b14acc59fd8edc29 (patch) | |
tree | aa4791c70c8e84c4b044e61e42e1b52c0f6d5677 /graphics/giflib | |
parent | 720ccabdd6fbfe1488de1f9b0f1a58fb3c85ae71 (diff) | |
download | freebsd-ports-graphics-6f7fed87d620790996003b19b14acc59fd8edc29.tar.gz freebsd-ports-graphics-6f7fed87d620790996003b19b14acc59fd8edc29.tar.zst freebsd-ports-graphics-6f7fed87d620790996003b19b14acc59fd8edc29.zip |
- use CONFIGURE_ENABLE
- register all x11 libs
- fix build with gcc48
Diffstat (limited to 'graphics/giflib')
-rw-r--r-- | graphics/giflib/Makefile | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/graphics/giflib/Makefile b/graphics/giflib/Makefile index ff2f368e3ae..b81d587187a 100644 --- a/graphics/giflib/Makefile +++ b/graphics/giflib/Makefile @@ -20,8 +20,11 @@ GNU_CONFIGURE= yes USE_LDCONFIG= yes OPTIONS_DEFINE= DOCBOOK X11 +OPTIONS_SUB= yes DOCBOOK_DESC= Generate API documentation (requires DOCS) +X11_CONFIGURE_ENABLE= x11 + .include <bsd.port.pre.mk> .if ${PORT_OPTIONS:MDOCBOOK} && ${PORT_OPTIONS:MDOCS} @@ -33,12 +36,9 @@ PLIST_SUB+= WITH_DOCBOOK='@comment ' .endif .if ${PORT_OPTIONS:MX11} -USE_XORG= sm x11 -PLIST_SUB+= X11='' +USE_XORG= x11 sm ice CPPFLAGS+= -I${LOCALBASE}/include .else -PLIST_SUB+= X11='@comment ' -CONFIGURE_ARGS+= --with-x=no NOX11SUFFIX= -nox11 .endif |