pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/editors/pico Make build on Interix, which is very clos...
details: https://anonhg.NetBSD.org/pkgsrc/rev/477ed0265f65
branches: trunk
changeset: 489050:477ed0265f65
user: tv <tv%pkgsrc.org@localhost>
date: Tue Feb 15 18:04:02 2005 +0000
description:
Make build on Interix, which is very close to Solaris and SVR4, but has
-lcurses instead of -ltermlib, and can't use poll(2).
diffstat:
editors/pico/Makefile | 14 +++++++++++++-
1 files changed, 13 insertions(+), 1 deletions(-)
diffs (35 lines):
diff -r 4ce296a737fe -r 477ed0265f65 editors/pico/Makefile
--- a/editors/pico/Makefile Tue Feb 15 16:48:44 2005 +0000
+++ b/editors/pico/Makefile Tue Feb 15 18:04:02 2005 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.60 2005/01/31 19:09:16 tv Exp $
+# $NetBSD: Makefile,v 1.61 2005/02/15 18:04:02 tv Exp $
#
# NOTE:
# When updating, it is necessary to change the shlib version, located in
@@ -35,6 +35,8 @@
. else
BUILDNAME= sgi
. endif
+.elif ${OPSYS} == "Interix"
+BUILDNAME= sfu
.elif ${OPSYS} == "Linux"
BUILDNAME= lnx
.elif ${OPSYS} == "SunOS"
@@ -45,6 +47,16 @@
MAKE_ENV+= _STRIPFLAG_INSTALL= # debug...
+pre-patch:
+.if ${OPSYS} == "Interix"
+ ${CP} -f \
+ ${WRKSRC}/pico/osdep/os-sol.h ${WRKSRC}/pico/osdep/os-sfu.h
+ ${SED} -e 's,read.pol,read.sel,' \
+ ${WRKSRC}/pico/osdep/os-sv4.ic >${WRKSRC}/pico/osdep/os-sfu.ic
+ ${SED} -e 's,-ltermlib,-lcurses,g;s,sv4,sfu,g' \
+ ${WRKSRC}/pico/makefile.sv4 >${WRKSRC}/pico/makefile.sfu
+.endif
+
do-build:
@cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ./build ${BUILDNAME} \
CC="${LIBTOOL} ${CC}" \
Home |
Main Index |
Thread Index |
Old Index