From owner-freebsd-ports Wed Jun 12 14:45:18 2002 Delivered-To: freebsd-ports@freebsd.org Received: from smtp.noos.fr (racine.noos.net [212.198.2.71]) by hub.freebsd.org (Postfix) with ESMTP id 17AB637B406 for ; Wed, 12 Jun 2002 14:45:08 -0700 (PDT) Received: (qmail 10170754 invoked by uid 0); 12 Jun 2002 21:27:57 -0000 Received: from unknown (HELO gits.gits.dyndns.org) ([212.198.230.194]) (envelope-sender ) by 212.198.2.71 (qmail-ldap-1.03) with SMTP for ; 12 Jun 2002 21:27:57 -0000 Received: from gits.gits.dyndns.org (2z4h2m45rs4b970s@localhost [127.0.0.1]) by gits.gits.dyndns.org (8.12.3/8.12.3) with ESMTP id g5CLRqa6034861; Wed, 12 Jun 2002 23:27:57 +0200 (CEST) (envelope-from root@gits.dyndns.org) Received: (from root@localhost) by gits.gits.dyndns.org (8.12.3/8.12.3/Submit) id g5CLRoeZ034857; Wed, 12 Jun 2002 23:27:50 +0200 (CEST) (envelope-from root) Date: Wed, 12 Jun 2002 23:27:50 +0200 From: Cyrille Lefevre To: Mike Hogsett Cc: freebsd-ports@freebsd.org Subject: Re: port setiathome Message-ID: <20020612212750.GD33037@gits.dyndns.org> Mail-Followup-To: Cyrille Lefevre , Mike Hogsett , freebsd-ports@freebsd.org References: <200206121828.g5CISqZ4017900@quarter.csl.sri.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="oyUTqETQ0mS9luUI" Content-Disposition: inline In-Reply-To: <200206121828.g5CISqZ4017900@quarter.csl.sri.com> User-Agent: Mutt/1.3.99i Organization: ACME X-Face: V|+c;4!|B?E%BE^{E6);aI.[< List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org --oyUTqETQ0mS9luUI Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Wed, Jun 12, 2002 at 11:28:52AM -0700, Mike Hogsett wrote: > > The Setiathome client for Alpha/Tru64, > setiathome-3.03.alpha-compaq-T64Uv4.0d.tar, works fine under FreeBSD/Alpha > 4.5-RELEASE-p6. > > /usr/ports/astro/setiathome wont install it though claiming that > setiathome is only for i386. could you apply the attached patch to you port tree and let me know if setiathome is install clean under alpha ? for instance, I've enabled xsetiathome for alpha, is it working ? Cyrille. -- Cyrille Lefevre mailto:cyrille.lefevre@laposte.net --oyUTqETQ0mS9luUI Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="setiathome-3.03-5.patch" Index: Makefile =================================================================== RCS file: /home/ncvs/ports/astro/setiathome/Makefile,v retrieving revision 1.29 diff -u -r1.29 Makefile --- Makefile 17 Jan 2002 23:13:35 -0000 1.29 +++ Makefile 12 Jun 2002 21:24:16 -0000 @@ -26,7 +26,7 @@ IS_INTERACTIVE= yes .endif -ONLY_FOR_ARCHS= i386 +ONLY_FOR_ARCHS= alpha i386 NO_BUILD= "binary distribution" NO_CDROM= "interactive install" @@ -44,6 +44,7 @@ MAN1= ${PORTNAME}.1 +MD5_FILE= ${MASTERDIR}/distinfo-${ARCH} MSG_FILE= ${PKGDIR}/pkg-message PKGMESSAGE= ${WRKDIR}/pkg-message PKGDEINSTALL= ${PKGINSTALL} @@ -52,9 +53,15 @@ # PORT_CPU= ${ARCH} +.if ${ARCH} == alpha +PORT_VENDOR?= compaq +PORT_OSNAME?= T64U +PORT_OSREL?= v4.0d +.else PORT_VENDOR= unknown PORT_OSNAME= freebsd PORT_OSREL= 2.2.8 +.endif PORT_OS= ${PORT_OSNAME}${PORT_OSREL} PORT_HOST= ${PORT_CPU}-${PORT_VENDOR}-${PORT_OS} @@ -67,22 +74,23 @@ BIN_FILE= setiathome RC_FILES= setiathome +# i386 NOTES: # xsetiathome is currently broken at 4.2. should work at 2.x, # don't know between 3.0 and 4.2 ? so, be conservative... # diagnostic messages are : # Warning: Cannot convert string "doneB" to type Widget # Floating point exception (core dumped) -.if ${OSVERSION} < 300000 +.if ${ARCH} == alpha || ${OSVERSION} < 300000 MAN1+= x${PORTNAME}.1 XBIN_DIR= ${PREFIX}/bin -XBIN_FILE+= xsetiathome +XBIN_FILE= xsetiathome X11PORTS= .else X11PORTS= "@comment " .endif -# +# Post-patch # post-patch: patch-message @@ -99,7 +107,7 @@ @${INSTALL_PROGRAM} ${WRKSRC}/${BIN_FILE} ${SBIN_DIR} install-program: -.if defined(XPROG) +.if defined(XBIN_FILE) @${INSTALL_PROGRAM} ${WRKSRC}/${XBIN_FILE} ${XBIN_DIR} .endif @@ -137,7 +145,16 @@ display-message: .if !defined(BATCH) + @${ECHO_MSG} @${CAT} ${PKGMESSAGE} + @${ECHO_MSG} .endif + +# Maintainer use only +# +maintainer-makesum: +.for arch in ${ONLY_FOR_ARCHS} + ${MAKE} ARCH=${arch} makesum +.endfor .include --oyUTqETQ0mS9luUI-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message