Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 14 Feb 2001 22:02:12 +0900
From:      Jun Kuriyama <kuriyama@imgsrc.co.jp>
To:        dima@freebsd.org
Cc:        Ports Team <ports@freebsd.org>
Subject:   Fix for palm/pilot-link
Message-ID:  <7m66idquy3.wl@waterblue.imgsrc.co.jp>

next in thread | raw e-mail | index | archive | help
--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 <kuriyama@imgsrc.co.jp> // IMG SRC, Inc.
             <kuriyama@FreeBSD.org> // 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 <bsd.port.pre.mk>
+
+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 <bsd.port.mk>
+.include <bsd.port.post.mk>

--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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?7m66idquy3.wl>