From owner-freebsd-ports Wed Feb 14 5: 2:23 2001 Delivered-To: freebsd-ports@freebsd.org Received: from white.imgsrc.co.jp (ns.imgsrc.co.jp [210.226.20.2]) by hub.freebsd.org (Postfix) with ESMTP id D77D637B503; Wed, 14 Feb 2001 05:02:19 -0800 (PST) Received: from waterblue.imgsrc.co.jp (waterblue.imgsrc.co.jp [210.226.20.160]) by white.imgsrc.co.jp (8.11.2/8.11.0) with ESMTP id f1ED2Iu82010; Wed, 14 Feb 2001 22:02:18 +0900 (JST) Date: Wed, 14 Feb 2001 22:02:12 +0900 Message-ID: <7m66idquy3.wl@waterblue.imgsrc.co.jp> From: Jun Kuriyama To: dima@freebsd.org Cc: Ports Team Subject: Fix for palm/pilot-link User-Agent: Wanderlust/2.4.0 (Rio) SEMI/1.13.7 (Awazu) FLIM/1.13.2 (Kasanui) MULE XEmacs/21.1 (patch 14) (Cuyahoga Valley) (i386--freebsd) MIME-Version: 1.0 (generated by SEMI 1.13.7 - "Awazu") Content-Type: multipart/mixed; boundary="Multipart_Wed_Feb_14_22:02:12_2001-1" Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org --Multipart_Wed_Feb_14_22:02:12_2001-1 Content-Type: text/plain; charset=US-ASCII Hi Dima, I found palm/pilot-link failed on building stage on my environment (and bento's). I made fix for this problem. Can I commit this? (1) Add write permission at post-patch stage to be able to build by non-root users. (2) Remove -O flag from CFLAGS due to c++'s optimization bug. -- Jun Kuriyama // IMG SRC, Inc. // FreeBSD Project --Multipart_Wed_Feb_14_22:02:12_2001-1 Content-Type: application/octet-stream; type=patch Content-Disposition: attachment; filename="pilot-link.diff" Content-Transfer-Encoding: 7bit Index: Makefile =================================================================== RCS file: /home/ncvs/ports/palm/pilot-link/Makefile,v retrieving revision 1.42 diff -u -r1.42 Makefile --- Makefile 2001/01/11 22:19:38 1.42 +++ Makefile 2001/02/14 12:57:17 @@ -22,13 +22,20 @@ PREFIX= ${LOCALBASE}/pilot CONFIGURE_ARGS= --with-perl5=${PERL5} +.include + +CFLAGS!= ${ECHO} "${CFLAGS}" | ${SED} -e 's/-O[0-9a-z]*//g' + MAN1= dlpsh.1 ietf2datebook.1 install-datebook.1 \ install-hinote.1 install-memo.1 install-user.1 \ pilot-xfer.1 read-ical.1 MAN7= pilot-link.7 +post-patch: + @${CHMOD} 755 ${WRKSRC}/${CONFIGURE_SCRIPT} + post-install: @${SED} "s|%%PREFIX%%|${PREFIX}|g" < ${FILESDIR}/pilot-link.sh > ${LOCALBASE}/etc/rc.d/pilot-link.sh @${CHMOD} 750 ${LOCALBASE}/etc/rc.d/pilot-link.sh -.include +.include --Multipart_Wed_Feb_14_22:02:12_2001-1-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message