no need to patch configure, just add old to CONFIGURE_STYLE.

This commit is contained in:
espie 2006-07-13 13:39:30 +00:00
parent 086ed2a9a6
commit 8cbe546e1a
2 changed files with 2 additions and 42 deletions

View File

@ -3,7 +3,7 @@
# Date created: Thu Jan 18, 2000
# Whom: Kevin Lo <kevlo@openbsd.org>
#
# $OpenBSD: Makefile,v 1.13 2004/11/21 21:51:36 espie Exp $
# $OpenBSD: Makefile,v 1.14 2006/07/13 13:39:30 espie Exp $
#
COMMENT= "pager utility that speaks Chinese"
@ -21,7 +21,7 @@ PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WANTLIB= c curses termcap
CONFIGURE_STYLE= gnu dest
CONFIGURE_STYLE= gnu dest old
CFLAGS+= -DHANZI # LDFLAGS=-s datadir=/usr/local/lib/less
post-install:

View File

@ -1,40 +0,0 @@
--- configure.orig Tue Jan 18 17:55:09 2000
+++ configure Tue Jan 18 17:59:35 2000
@@ -33,6 +33,7 @@
verbose=
x_includes=NONE
x_libraries=NONE
+sysconfdir='${prefix}/etc'
# Initialize some other variables.
subdirs=
@@ -122,6 +123,7 @@
--exec-prefix=PREFIX install architecture-dependent files in PREFIX
[same as prefix]
--srcdir=DIR find the sources in DIR [configure dir or ..]
+ --sysconfdir=DIR read-only single-machine data in DIR [PREFIX/etc]
--program-prefix=PREFIX prepend PREFIX to installed program names
--program-suffix=SUFFIX append SUFFIX to installed program names
--program-transform-name=PROGRAM run sed PROGRAM on installed program names
@@ -207,6 +209,13 @@
-srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
srcdir="$ac_optarg" ;;
+ -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
+ | --syscon | --sysco | --sysc | --sys | --sy)
+ ac_prev=sysconfdir ;;
+ -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
+ | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
+ sysconfdir="$ac_optarg" ;;
+
-target | --target | --targe | --targ | --tar | --ta | --t)
ac_prev=target ;;
-target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
@@ -1822,6 +1831,7 @@
sed -e "$ac_comsub
s%@configure_input@%$configure_input%g
s%@srcdir@%$srcdir%g
+s%@sysconfdir@%$sysconfdir%g
s%@top_srcdir@%$top_srcdir%g
s%@INSTALL@%$INSTALL%g
" -f conftest.subs $ac_given_srcdir/$ac_file_in > $ac_file