aboutsummaryrefslogtreecommitdiffstats
path: root/palm
diff options
context:
space:
mode:
authorkuriyama <kuriyama@FreeBSD.org>2001-02-15 06:50:24 +0800
committerkuriyama <kuriyama@FreeBSD.org>2001-02-15 06:50:24 +0800
commit22d9f595372eedf2fd95c3a317cdd833ce74f18f (patch)
tree22ba4e9b6061d50e0a5a3f18afbe6b703ae2d510 /palm
parent73d8bad76230ae72b44bd86bf07e4f2061c30631 (diff)
downloadfreebsd-ports-gnome-22d9f595372eedf2fd95c3a317cdd833ce74f18f.tar.gz
freebsd-ports-gnome-22d9f595372eedf2fd95c3a317cdd833ce74f18f.tar.zst
freebsd-ports-gnome-22d9f595372eedf2fd95c3a317cdd833ce74f18f.zip
- Add write permission at post-patch stage to be able to build
by non-root users. - Remove -O flag from CFLAGS due to c++'s optimization bug. Approved by: maintainer Requested by: hanai
Diffstat (limited to 'palm')
-rw-r--r--palm/pilot-link-devel/Makefile9
-rw-r--r--palm/pilot-link/Makefile9
2 files changed, 16 insertions, 2 deletions
diff --git a/palm/pilot-link-devel/Makefile b/palm/pilot-link-devel/Makefile
index bcb2af9d5bbc..30a65ec6abe4 100644
--- a/palm/pilot-link-devel/Makefile
+++ b/palm/pilot-link-devel/Makefile
@@ -22,13 +22,20 @@ USE_PERL5= yes
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>
diff --git a/palm/pilot-link/Makefile b/palm/pilot-link/Makefile
index bcb2af9d5bbc..30a65ec6abe4 100644
--- a/palm/pilot-link/Makefile
+++ b/palm/pilot-link/Makefile
@@ -22,13 +22,20 @@ USE_PERL5= yes
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>