summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwiz <wiz>2000-06-27 01:13:47 +0000
committerwiz <wiz>2000-06-27 01:13:47 +0000
commit34d687d2a059a4121cf400aa15c9b6539c2ffc3d (patch)
treeea105ebbf8e44471d31ab08601f67f814145aaca
parentee6ac9a023954d59bd7d00544aeb3a23078373a0 (diff)
downloadpkgsrc-34d687d2a059a4121cf400aa15c9b6539c2ffc3d.tar.gz
Add all libraries to link step of gdk_imlib.
Adresses pkg/10453.
-rw-r--r--graphics/imlib/Makefile8
-rw-r--r--graphics/imlib/files/patch-sum3
-rw-r--r--graphics/imlib/patches/patch-ac13
3 files changed, 22 insertions, 2 deletions
diff --git a/graphics/imlib/Makefile b/graphics/imlib/Makefile
index cba8f01bd2d..4b6d74bfae5 100644
--- a/graphics/imlib/Makefile
+++ b/graphics/imlib/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.37 2000/06/20 01:40:16 dmcmahill Exp $
+# $NetBSD: Makefile,v 1.38 2000/06/27 01:13:47 wiz Exp $
#
DISTNAME= imlib-1.9.8.1
@@ -8,6 +8,8 @@ MASTER_SITES= ${MASTER_SITE_GNOME:=stable/sources/imlib/}
MAINTAINER= tron@netbsd.org
HOMEPAGE= http://www.labs.redhat.com/imlib/
+BUILD_DEPENDS+= ${LOCALBASE}/bin/autoconf:../../devel/autoconf
+BUILD_DEPENDS+= ${LOCALBASE}/bin/automake:../../devel/automake
DEPENDS+= gtk+-1.2.*:../../x11/gtk
DEPENDS+= libungif-*:../../graphics/libungif
DEPENDS+= jpeg-6b:../../graphics/jpeg
@@ -21,6 +23,7 @@ LTCONFIG_OVERRIDE= ${WRKSRC}/ltconfig
GNU_CONFIGURE= yes
CONFIGURE_ENV+= CPPFLAGS="${CPPFLAGS}"
PLIST_SUBST+= LOCALBASE=${LOCALBASE}
+USE_GMAKE= yes
.include "../../mk/bsd.prefs.mk"
@@ -36,6 +39,9 @@ PLIST_SRC= ${PKGDIR}/PLIST.mi
PLIST_SRC= ${PKGDIR}/PLIST.mi ${PKGDIR}/PLIST.elf
.endif
+pre-configure:
+ cd ${WRKSRC} && autoconf && automake
+
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/imlib
cd ${WRKSRC}/doc; ${INSTALL_DATA} *.gif *.html \
diff --git a/graphics/imlib/files/patch-sum b/graphics/imlib/files/patch-sum
index 31eefb530b3..77915664824 100644
--- a/graphics/imlib/files/patch-sum
+++ b/graphics/imlib/files/patch-sum
@@ -1,4 +1,5 @@
-$NetBSD: patch-sum,v 1.6 2000/06/17 01:09:35 wiz Exp $
+$NetBSD: patch-sum,v 1.7 2000/06/27 01:13:48 wiz Exp $
MD5 (patch-aa) = 1a4d46ccad38707e83ee787b0fd0f341
MD5 (patch-ab) = bc854a96aaa65d7548862dee8a2303b2
+MD5 (patch-ac) = d7e5c25a0bfbc4fc7f8b28c1da0563ab
diff --git a/graphics/imlib/patches/patch-ac b/graphics/imlib/patches/patch-ac
new file mode 100644
index 00000000000..f517b594783
--- /dev/null
+++ b/graphics/imlib/patches/patch-ac
@@ -0,0 +1,13 @@
+$NetBSD: patch-ac,v 1.7 2000/06/27 01:13:49 wiz Exp $
+
+--- gdk_imlib/Makefile.am.orig Sat May 20 08:24:11 2000
++++ gdk_imlib/Makefile.am Tue Jun 27 00:54:21 2000
+@@ -82,7 +82,7 @@
+
+
+ libgdk_imlib_la_LDFLAGS = -version-info 10:8:9
+-libgdk_imlib_la_LIBADD = $(GMODULE_LIBS)
++libgdk_imlib_la_LIBADD = $(GMODULE_LIBS) $(SUPPORT_LIBS)
+
+
+ include_HEADERS = gdk_imlib.h gdk_imlib_private.h gdk_imlib_types.h