From fb14a21d76f4a29efdab086fe7276e55cbba3d35 Mon Sep 17 00:00:00 2001 From: asami Date: Fri, 3 Mar 2000 20:38:30 +0000 Subject: Add -L${LOCALBASE}/lib in front of -ltiff and stuff in imlib-config; without it, ports (like astro/xplanet) that only require X-related stuff will fail (since they will only put -L${X11BASE}/lib in the linker command line). --- graphics/imlib/Makefile | 3 +++ graphics/imlib/files/patch-ab | 11 +++++++++++ graphics/imlib2-tmp/Makefile | 3 +++ graphics/imlib2/Makefile | 3 +++ 4 files changed, 20 insertions(+) create mode 100644 graphics/imlib/files/patch-ab (limited to 'graphics') diff --git a/graphics/imlib/Makefile b/graphics/imlib/Makefile index c1c07d8c0d03..43cf654facf2 100644 --- a/graphics/imlib/Makefile +++ b/graphics/imlib/Makefile @@ -30,4 +30,7 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ CONFIGURE_ARGS= --sysconfdir=${PREFIX}/etc/imlib \ --disable-gtktest +pre-configure: + ${PERL} -pi -e "s^%%LOCALBASE%%^${LOCALBASE}^" ${WRKSRC}/imlib-config.in + .include diff --git a/graphics/imlib/files/patch-ab b/graphics/imlib/files/patch-ab new file mode 100644 index 000000000000..ed31cf167d97 --- /dev/null +++ b/graphics/imlib/files/patch-ab @@ -0,0 +1,11 @@ +--- ./imlib-config.in.org Thu Aug 26 08:09:25 1999 ++++ ./imlib-config.in Fri Mar 3 11:08:41 2000 +@@ -3,7 +3,7 @@ + # Shamelessly ripped form gtk's gtk-config.in + # + +-gx_libs="@SUPPORT_LIBS@" ++gx_libs="-L%%LOCALBASE%%/lib @SUPPORT_LIBS@" + gdk_gx_libs=" @GDK_SUPPORT_LIBS@" + gdk_libs="@LIBS@" + diff --git a/graphics/imlib2-tmp/Makefile b/graphics/imlib2-tmp/Makefile index c1c07d8c0d03..43cf654facf2 100644 --- a/graphics/imlib2-tmp/Makefile +++ b/graphics/imlib2-tmp/Makefile @@ -30,4 +30,7 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ CONFIGURE_ARGS= --sysconfdir=${PREFIX}/etc/imlib \ --disable-gtktest +pre-configure: + ${PERL} -pi -e "s^%%LOCALBASE%%^${LOCALBASE}^" ${WRKSRC}/imlib-config.in + .include diff --git a/graphics/imlib2/Makefile b/graphics/imlib2/Makefile index c1c07d8c0d03..43cf654facf2 100644 --- a/graphics/imlib2/Makefile +++ b/graphics/imlib2/Makefile @@ -30,4 +30,7 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ CONFIGURE_ARGS= --sysconfdir=${PREFIX}/etc/imlib \ --disable-gtktest +pre-configure: + ${PERL} -pi -e "s^%%LOCALBASE%%^${LOCALBASE}^" ${WRKSRC}/imlib-config.in + .include -- cgit