aboutsummaryrefslogtreecommitdiff
path: root/graphics/gimageview
diff options
context:
space:
mode:
authorAdam Weinberger <adamw@FreeBSD.org>2003-04-20 23:14:46 +0000
committerAdam Weinberger <adamw@FreeBSD.org>2003-04-20 23:14:46 +0000
commit429ff4d8615042ffcc98a91759cac88c6c357c52 (patch)
treea5cfff286eb6e143b5084a3d4b8b7a472d248dff /graphics/gimageview
parenta7a79b20ccb044dd742a888fee8fbed866a3b44d (diff)
Notes
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 b757f140fd1b..0bfd84d71662 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