From owner-freebsd-ports Mon Sep 21 09:20:34 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id JAA06395 for freebsd-ports-outgoing; Mon, 21 Sep 1998 09:20:34 -0700 (PDT) (envelope-from owner-freebsd-ports@FreeBSD.ORG) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id JAA06378 for ; Mon, 21 Sep 1998 09:20:27 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.8.8/8.8.5) id JAA25213; Mon, 21 Sep 1998 09:20:00 -0700 (PDT) Received: from esmeralda.xaa.iae.nl (esmeralda.xaa.iae.nl [194.151.75.9]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id JAA05190 for ; Mon, 21 Sep 1998 09:12:48 -0700 (PDT) (envelope-from xaa@xaa.iae.nl) Received: from ariel.xaa.iae.nl (ariel.xaa.iae.nl [194.151.75.10]) by esmeralda.xaa.iae.nl (VMailer) with ESMTP id 18B3A3CB; Mon, 21 Sep 1998 18:12:16 +0200 (MET DST) Received: by ariel.xaa.iae.nl (VMailer, from userid 1002) id 50A0D456A; Mon, 21 Sep 1998 18:12:15 +0200 (CEST) Message-Id: <19980921161215.50A0D456A@ariel.xaa.iae.nl> Date: Mon, 21 Sep 1998 18:12:15 +0200 (CEST) From: xaa@xaa.iae.nl Reply-To: xaa@xaa.iae.nl To: FreeBSD-gnats-submit@FreeBSD.ORG X-Send-Pr-Version: 3.2 Subject: ports/8012: elfified ports/devel/libslang Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 8012 >Category: ports >Synopsis: fix non-elf port libslang >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Mon Sep 21 09:20:00 PDT 1998 >Last-Modified: >Originator: Mark Huizer >Organization: >Release: FreeBSD 3.0-BETA i386 >Environment: >Description: elfified port >How-To-Repeat: >Fix: apply patch and add patch-ae: patch-ae: --- src/Makefile.in.orig Sun Sep 20 18:37:23 1998 +++ src/Makefile.in Sun Sep 20 19:52:59 1998 @@ -130,21 +130,19 @@ $(INSTALL_DATA) $(SRCDIR)/slcurses.h $(install_include_dir) -$(RM) $(install_lib_dir)/$(ELFLIB) -$(RM) $(install_lib_dir)/$(ELFLIB_MAJOR) - @echo installing $(ELFLIB_MAJOR_MINOR) in $(install_lib_dir) - $(INSTALL_DATA) $(ELFDIR_ELF_LIB) $(install_lib_dir) - @echo creating symbolic links to $(ELFLIB_MAJOR_MINOR) - -cd $(install_lib_dir); $(LN) $(ELFLIB_MAJOR_MINOR) $(ELFLIB) + @echo installing $(ELFLIB_MAJOR) in $(install_lib_dir) + $(INSTALL_DATA) $(ELFDIR_ELF_LIB) $(install_lib_dir)/${ELFLIB_MAJOR} + @echo creating symbolic links to $(ELFLIB_MAJOR) + -cd $(install_lib_dir); $(LN) $(ELFLIB_MAJOR) $(ELFLIB) @echo "" - @echo $(ELFLIB_MAJOR_MINOR) created in $(install_lib_dir). - @echo The link $(ELFLIB) to $(ELFLIB_MAJOR_MINOR) was also created. + @echo $(ELFLIB_MAJOR) created in $(install_lib_dir). + @echo The link $(ELFLIB) to $(ELFLIB_MAJOR) was also created. @echo "" install-links: -$(RM) $(install_lib_dir)/$(ELFLIB) -$(RM) $(install_lib_dir)/$(ELFLIB_MAJOR) - cd $(install_lib_dir); $(LN) $(ELFLIB_MAJOR_MINOR) $(ELFLIB_MAJOR) cd $(install_lib_dir); $(LN) $(ELFLIB_MAJOR) $(ELFLIB) @echo - @echo A link $(ELFLIB_MAJOR) to $(ELFLIB_MAJOR_MINOR) was created. @echo A link $(ELFLIB) to $(ELFLIB_MAJOR) was created. @echo "" #--------------------------------------------------------------------------- diff: diff -ur ../devel/libslang/Makefile libslang/Makefile --- ../devel/libslang/Makefile Tue May 19 19:11:02 1998 +++ libslang/Makefile Sun Sep 20 20:02:35 1998 @@ -16,10 +16,15 @@ GNU_CONFIGURE= yes WRKSRC= ${WRKDIR}/slang +.if PORTOBJFORMAT==elf ALL_TARGET= all elf INSTALL_TARGET= install install-elf +.else +ALL_TARGET= all +INSTALL_TARGET= install +.endif post-install: - ${LDCONFIG} -m ${PREFIX}/lib + ${SETENV} OBJFORMAT=${PORTOBJFORMAT} ${LDCONFIG} -m ${PREFIX}/lib .include Only in libslang/patches: patch-ae diff -ur ../devel/libslang/pkg/PLIST libslang/pkg/PLIST --- ../devel/libslang/pkg/PLIST Tue May 19 19:11:03 1998 +++ libslang/pkg/PLIST Sun Sep 20 20:03:26 1998 @@ -1,7 +1,7 @@ lib/libslang.a lib/libslang.so lib/libslang.so.1.2.2 -@exec /sbin/ldconfig -m %B -@unexec /sbin/ldconfig -R +@exec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -m %B +@unexec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -R include/slcurses.h include/slang.h >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message