Add a fix to compile gnome-name-service statically on Alpha so it actually

works.

ok nino@ pvalchev@
This commit is contained in:
marcm 2002-09-16 05:15:23 +00:00
parent 84e14be61f
commit 04b224823e
2 changed files with 18 additions and 2 deletions

View File

@ -1,10 +1,9 @@
# $OpenBSD: Makefile,v 1.17 2002/07/22 20:08:05 nino Exp $
# $OpenBSD: Makefile,v 1.18 2002/09/16 05:15:23 marcm Exp $
COMMENT= "libraries for the GNOME project"
DISTNAME= gnome-libs-1.4.1.4
CATEGORIES= x11 x11/gnome
NEED_VERSION= 1.504
HOMEPAGE= http://www.gnome.org/
MAINTAINER= Nils Nordman <nino@nforced.com>
@ -14,6 +13,11 @@ PATCH_LIST= ${PORTSDIR}/infrastructure/patches/patch-lt1.3.5-ltconfig \
${PORTSDIR}/infrastructure/patches/patch-lt1.3.5-ltmain_sh \
patch-*
# fix for Alpha
.if (${MACHINE_ARCH} == "alpha")
PATCH_LIST+= sup-alpha-*
.endif
LIB_DEPENDS= Imlib,gdk_imlib.19::graphics/imlib \
esd.2::audio/esound \
ORBit.5,ORBitutil.5,IIOP.5,ORBitCosNaming.5::devel/ORBit \

View File

@ -0,0 +1,12 @@
$OpenBSD: sup-alpha-libgnorba_Makefile_in,v 1.1 2002/09/16 05:15:23 marcm Exp $
--- libgnorba/Makefile.in.orig Thu Sep 5 09:32:04 2002
+++ libgnorba/Makefile.in Thu Sep 5 09:32:14 2002
@@ -450,7 +450,7 @@ goad-browser: $(goad_browser_OBJECTS) $(
gnome-name-service: $(gnome_name_service_OBJECTS) $(gnome_name_service_DEPENDENCIES)
@rm -f gnome-name-service
- $(LINK) $(gnome_name_service_LDFLAGS) $(gnome_name_service_OBJECTS) $(gnome_name_service_LDADD) $(LIBS)
+ $(LINK) $(gnome_name_service_LDFLAGS) $(gnome_name_service_OBJECTS) $(gnome_name_service_LDADD) $(LIBS) -liconv -all-static
install-man1:
$(mkinstalldirs) $(DESTDIR)$(man1dir)