summaryrefslogtreecommitdiffstats
path: root/graphics/gimageview
diff options
context:
space:
mode:
authoradamw <adamw@FreeBSD.org>2003-04-20 23:14:46 +0000
committeradamw <adamw@FreeBSD.org>2003-04-20 23:14:46 +0000
commit7c05dc61975e302f254909c916855da727e8be6b (patch)
treeaae9619644792b19b2ed945d864b5c9f952dbf6d /graphics/gimageview
parent88130c343d1cb8eac4887d5513ba25d667aa3c09 (diff)
downloadFreeBSD-ports-7c05dc61975e302f254909c916855da727e8be6b.zip
FreeBSD-ports-7c05dc61975e302f254909c916855da727e8be6b.tar.gz
USE_IMLIB is deprecated. Switching all USE_IMLIB references to appropriate
USE_GNOME= imlib directives.
Diffstat (limited to 'graphics/gimageview')
-rw-r--r--graphics/gimageview/Makefile7
1 files changed, 3 insertions, 4 deletions
diff --git a/graphics/gimageview/Makefile b/graphics/gimageview/Makefile
index b757f14..0bfd84d 100644
--- a/graphics/gimageview/Makefile
+++ b/graphics/gimageview/Makefile
@@ -14,12 +14,10 @@ MASTER_SITE_SUBDIR= gtkmmviewer
MAINTAINER= katsu@iec.hiroshima-u.ac.jp
COMMENT= Yet another GTK+ based image viewer
-LIB_DEPENDS= gdk_pixbuf.2:${PORTSDIR}/graphics/gdk-pixbuf
-
USE_REINPLACE= yes
USE_X_PREFIX= yes
USE_GMAKE= yes
-USE_GNOME= gtk12
+USE_GNOME= gdkpixbuf
WANT_GNOME= yes
GNU_CONFIGURE= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
@@ -30,6 +28,7 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
.if ${HAVE_GNOME:Mimlib}!=""
USE_GNOME+= imlib
PKGNAMESUFFIX= -imlib
+WITH_IMLIB= yes
.endif
post-patch:
@@ -37,7 +36,7 @@ post-patch:
${WRKSRC}/configure
post-configure:
-.if !defined(USE_IMLIB)
+.if !defined(WITH_IMLIB)
@${FIND} ${WRKSRC} -name 'Makefile' | ${XARGS} ${REINPLACE_CMD} -Ee \
's/^(GDK_IMLIB_(CFLAGS|LIBS) =).*$$/$${1}/'
.endif
OpenPOWER on IntegriCloud