aboutsummaryrefslogtreecommitdiff
path: root/audio/gnapster/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'audio/gnapster/Makefile')
-rw-r--r--audio/gnapster/Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/audio/gnapster/Makefile b/audio/gnapster/Makefile
index a19a91828c8f..6e7ed57a3d54 100644
--- a/audio/gnapster/Makefile
+++ b/audio/gnapster/Makefile
@@ -14,7 +14,7 @@ MAINTAINER= cpiazza@FreeBSD.org
USE_GMAKE= yes
USE_X_PREFIX= yes
-USE_IMLIB= yes
+USE_GNOMENG= yes
WANT_GNOME= yes
USE_LIBTOOL= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
@@ -22,9 +22,10 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
.include <bsd.port.pre.mk>
-.if defined(HAVE_GNOME)
-USE_GNOME= yes
+.if ${HAVE_GNOME:Mimlib}!=""
+USE_GNOME= imlib
CONFIGURE_ARGS+= --datadir=${PREFIX}/share
+PKGNAMESUFFIX= -imlib
.else
CONFIGURE_ARGS+=--disable-gnome --disable-gdk-pixbuf
.endif