diff options
Diffstat (limited to 'graphics/giflib/Makefile')
-rw-r--r-- | graphics/giflib/Makefile | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/graphics/giflib/Makefile b/graphics/giflib/Makefile index 0ea612834d2e..5186e533a1d9 100644 --- a/graphics/giflib/Makefile +++ b/graphics/giflib/Makefile @@ -12,10 +12,18 @@ MASTER_SITES= ftp://prtr-13.ucsc.edu/pub/libungif/ MAINTAINER= ports@FreeBSD.org -USE_XLIB= yes -USE_LIBTOOL= yes +GNU_CONFIGURE= yes INSTALLS_SHLIB= yes +.ifdef (NO_X) +PLIST_SUB+= X11='@comment ' +CONFIGURE_ARGS+=--with-x=no +PKGNAMESUFFIX= -nox11 +.else +USE_XLIB= yes +PLIST_SUB+= X11='' +.endif + DOCDIR= ${PREFIX}/share/doc/libungif post-install: |