Unbreak after glib2 update, remove --as-needed from LDFLAGS. While here,

fix WANTLIB.
This commit is contained in:
landry 2010-05-01 08:39:13 +00:00
parent 75e69a068b
commit 6f55b90802
2 changed files with 18 additions and 2 deletions

View File

@ -1,11 +1,11 @@
# $OpenBSD: Makefile,v 1.16 2009/12/21 16:07:44 landry Exp $
# $OpenBSD: Makefile,v 1.17 2010/05/01 08:39:13 landry Exp $
COMMENT= Xfce4 vte-based terminal
XFCE_VERSION= 0.4.2
XFCE_GOODIE= Terminal
# :L is here for a reason
PKGNAME= ${DISTNAME:L}p0
PKGNAME= ${DISTNAME:L}p1
# GPLv2
PERMIT_DISTFILES_CDROM= Yes
@ -21,6 +21,11 @@ LIB_DEPENDS= exo-0.3::x11/xfce4/exo \
vte::devel/vte
WANTLIB= X11 atk-1.0 c dbus-1 gdk-x11-2.0 gdk_pixbuf-2.0 gio-2.0 \
ICE SM Xau Xcomposite Xcursor Xdamage Xdmcp Xext Xfixes \
Xi Xinerama Xrandr Xrender cairo expat fontconfig freetype \
glitz gmodule-2.0 gthread-2.0 m ncurses pangocairo-1.0 \
pangoft2-1.0 pcre pixman-1 png pthread pthread-stubs \
xcb xcb-render xcb-render-util z \
glib-2.0 gobject-2.0 gtk-x11-2.0 pango-1.0 xfce4util
.include <bsd.port.mk>

View File

@ -0,0 +1,11 @@
$OpenBSD: patch-configure,v 1.1 2010/05/01 08:39:13 landry Exp $
--- configure.orig Sat May 1 10:13:28 2010
+++ configure Sat May 1 10:13:41 2010
@@ -14841,7 +14841,6 @@ fi
$as_echo_n "checking whether $LD accepts --as-needed... " >&6; }
case `$LD --as-needed -v 2>&1 </dev/null` in
*GNU* | *'with BFD'*)
- LDFLAGS="$LDFLAGS -Wl,--as-needed"
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
$as_echo "yes" >&6; }
;;