diff options
Diffstat (limited to 'graphics/pecl-imagick/Makefile')
-rw-r--r-- | graphics/pecl-imagick/Makefile | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/graphics/pecl-imagick/Makefile b/graphics/pecl-imagick/Makefile index 8c67ef8..418b3e0 100644 --- a/graphics/pecl-imagick/Makefile +++ b/graphics/pecl-imagick/Makefile @@ -15,11 +15,10 @@ COMMENT= Provides a wrapper to the ImageMagick/GraphicsMagick library LICENSE= PHP301 -.if !defined(WITHOUT_X11) -LIB_DEPENDS= libMagickWand-6.Q*.so:${PORTSDIR}/graphics/ImageMagick -.else -LIB_DEPENDS= libMagickWand-6.Q*.so:${PORTSDIR}/graphics/ImageMagick-nox11 -.endif +OPTIONS_DEFINE= X11 + +X11_LIB_DEPENDS= libMagickWand-6.Q*.so:${PORTSDIR}/graphics/ImageMagick +X11_LIB_DEPENDS_OFF= libMagickWand-6.Q*.so:${PORTSDIR}/graphics/ImageMagick-nox11 USES= pkgconfig USE_PHP= yes |