diff options
-rw-r--r-- | japanese/libslang/Makefile | 11 | ||||
-rw-r--r-- | japanese/libslang/files/patch-aa | 34 | ||||
-rw-r--r-- | japanese/libslang/pkg-plist | 10 |
3 files changed, 20 insertions, 35 deletions
diff --git a/japanese/libslang/Makefile b/japanese/libslang/Makefile index afdc16812922..6731bb4f572e 100644 --- a/japanese/libslang/Makefile +++ b/japanese/libslang/Makefile @@ -3,22 +3,19 @@ # Date created: 26 Jun 1998 # Whom: Takashi Mega <mega@minz.org> # -# $Id: Makefile,v 1.1.1.1 1998/07/19 15:24:12 kuriyama Exp $ +# $Id: Makefile,v 1.2 1998/10/16 04:30:24 jseger Exp $ DISTNAME= slang1.2.2 PKGNAME= ja-libslang-1.2.2 CATEGORIES= japanese devel -MASTER_SITES= http://master.debian.or.jp/~kikutani/slang/ +MASTER_SITES= ftp://space.mit.edu/pub/davis/slang/ -PATCH_SITES= http://master.debian.or.jp/~kikutani/slang/ +PATCH_SITES= http://home.sprintmail.com/~kikutani/slang/ PATCHFILES= slang1.2.2jp0.pat.gz PATCH_DIST_STRIP= -p1 MAINTAINER= mega@minz.org - -BROKEN_ELF= yes - GNU_CONFIGURE= yes ALL_TARGET= all elf INSTALL_TARGET= install install-elf @@ -30,6 +27,6 @@ post-install: ${CP} -R ${WRKSRC}/doc/* ${PREFIX}/share/doc/slang post-install: - ${LDCONFIG} -m ${PREFIX}/lib + ${SETENV} OBJFORMAT=${PORTOBJFORMAT} ${LDCONFIG} -m ${PREFIX}/lib .include <bsd.port.mk> diff --git a/japanese/libslang/files/patch-aa b/japanese/libslang/files/patch-aa index 178c8ea6077c..5660d068dff3 100644 --- a/japanese/libslang/files/patch-aa +++ b/japanese/libslang/files/patch-aa @@ -1,23 +1,11 @@ -*** configure.orig Thu Feb 12 02:31:24 1998 ---- configure Mon Mar 30 21:40:51 1998 -*************** -*** 1506,1514 **** - - if test "$GCC" = yes; then - ELF_CC="gcc" -! ELF_CFLAGS="-O2 -fno-strength-reduce -fPIC" -! ELF_LINK="gcc -shared -Wl,-soname#" -! ELF_LINK_CMD="\$(ELF_LINK),\$(ELFLIB_MAJOR)" - else - ELF_CC="cc" - ELF_CFLAGS="-K pic" ---- 1506,1514 ---- - - if test "$GCC" = yes; then - ELF_CC="gcc" -! ELF_CFLAGS="$(CFLAGS) -DPIC -fpic" -! ELF_LINK="ld -Bshareable" -! ELF_LINK_CMD="\$(ELF_LINK)" - else - ELF_CC="cc" - ELF_CFLAGS="-K pic" +--- src/sltermin.c.orig Sun Jul 26 15:57:36 1998 ++++ src/sltermin.c Sun Jul 26 15:58:06 1998 +@@ -273,7 +273,7 @@ + { + tidir = Terminfo_Dirs[i]; + if ((tidir != NULL) +- && (sizeof (file) > strlen (tidir) + 2 + strlen (term))) ++ && (sizeof (file) > strlen (tidir) + 3 + strlen (term))) + { + sprintf (file, "%s/%c/%s", tidir, *term, term); + if (NULL != (fp = open_terminfo (file, ti))) diff --git a/japanese/libslang/pkg-plist b/japanese/libslang/pkg-plist index d8b5c8ed4639..1ec118269a1f 100644 --- a/japanese/libslang/pkg-plist +++ b/japanese/libslang/pkg-plist @@ -1,11 +1,11 @@ -include/slang.h -include/slcurses.h lib/libslang.a @exec ranlib %D/%F lib/libslang.so -lib/libslang.so.1.2.2 -@exec /sbin/ldconfig -m %D/lib -@comment @unexec /sbin/ldconfig -R +lib/libslang.so.1.3 +@exec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -m %D/lib +@unexec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -R +include/slang.h +include/slcurses.h share/doc/slang/README share/doc/slang/OLD/help/README share/doc/slang/OLD/help/makefile.djg |