Generate dummy rswitch.c for architectures w/o coexpr. Remove debug clutter.
This commit is contained in:
parent
367f3c3889
commit
8fc2e7a630
@ -1,5 +1,5 @@
|
||||
# Simple Icon port, does not yet support variant translators
|
||||
# $OpenBSD: Makefile,v 1.1.1.1 1998/10/02 17:10:51 espie Exp $
|
||||
# $OpenBSD: Makefile,v 1.2 1998/10/13 14:58:39 espie Exp $
|
||||
|
||||
DISTNAME=icon-9.3.1
|
||||
DIST_SUBDIR=icon
|
||||
@ -18,12 +18,17 @@ WRKSRC=${WRKDIR}
|
||||
SCRIPTS_ENV=ARCH="${ARCH}"
|
||||
MAKE_ENV=ARCH="${ARCH}"
|
||||
|
||||
CONF_DIR=${WRKSRC}/config/unix/openbsd
|
||||
|
||||
ALL_TARGET=Icon-icont
|
||||
|
||||
pre-configure:
|
||||
cp -R ${FILESDIR}/openbsd ${WRKSRC}/config/unix
|
||||
ln ${WRKSRC}/config/unix/openbsd/${ARCH}_rswitch.c ${WRKSRC}/config/unix/openbsd/rswitch.c
|
||||
if [ -f ${CONF_DIR}/${ARCH}_rswitch.c ] ; then \
|
||||
ln -f ${CONF_DIR}/${ARCH}_rswitch.c ${CONF_DIR}/rswitch.c ;\
|
||||
else \
|
||||
touch ${CONF_DIR}/rswitch.c ;\
|
||||
fi
|
||||
|
||||
|
||||
# We put a wrapper around icont for finding the library files when
|
||||
|
@ -5,6 +5,6 @@
|
||||
# make D=Debug
|
||||
#
|
||||
D=NOTHING
|
||||
CFLAGS+= -D$D -I/usr/X11R6/include -Wall
|
||||
CFLAGS+= -D$D -I/usr/X11R6/include
|
||||
SHELL=/bin/sh
|
||||
RSWITCH=rswitch.c
|
||||
|
@ -5,5 +5,5 @@
|
||||
# make D=Debug
|
||||
#
|
||||
D=NOTHING
|
||||
CFLAGS+= -D$D -Wall -I/usr/X11R6/include
|
||||
CFLAGS+= -D$D -I/usr/X11R6/include
|
||||
SHELL=/bin/sh
|
||||
|
@ -1,2 +1,2 @@
|
||||
SHELL=/bin/sh
|
||||
CFLAGS+=-I/usr/X11R6/include -Wall
|
||||
CFLAGS+=-I/usr/X11R6/include
|
||||
|
@ -1,2 +1,2 @@
|
||||
SHELL=/bin/sh
|
||||
CFLAGS+=-DPersInterp -Wall -I/usr/X11R6/include
|
||||
CFLAGS+=-DPersInterp -I/usr/X11R6/include
|
||||
|
@ -6,5 +6,5 @@
|
||||
#
|
||||
D=NOTHING
|
||||
CC=cc
|
||||
CFLAGS+= -O -D$D -Wall
|
||||
CFLAGS+= -O -D$D
|
||||
SHELL=/bin/sh
|
||||
|
@ -1,6 +1,6 @@
|
||||
System configuration:
|
||||
|
||||
OpenBSD >= .23
|
||||
OpenBSD >= 2.4
|
||||
|
||||
Latest Icon version:
|
||||
|
||||
|
1
lang/icon/scripts/configure
vendored
1
lang/icon/scripts/configure
vendored
@ -1,2 +1 @@
|
||||
env
|
||||
cd ${WRKSRC} && make X-Configure name=openbsd
|
||||
|
Loading…
Reference in New Issue
Block a user