mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-01 22:05:08 +00:00
9824b7edb1
PR: ports/20977 Submitted by: IWASHITA Yoji <shuna@pop16.odn.ne.jp>
32 lines
1.2 KiB
Plaintext
32 lines
1.2 KiB
Plaintext
--- src/Makefile.in.orig Wed Aug 30 19:43:11 2000
|
|
+++ src/Makefile.in Fri Sep 1 04:37:36 2000
|
|
@@ -36,7 +36,7 @@
|
|
exec_prefix = @exec_prefix@
|
|
install_lib_dir = @libdir@
|
|
install_include_dir = @includedir@
|
|
-install_doc_dir = $(prefix)/doc/slang/@slang_version@
|
|
+install_doc_dir = $(prefix)/share/doc/slang
|
|
DOC_FILES = ../changes.txt ../COPY* ../doc/slangdoc.html ../doc/text/*.txt
|
|
#---------------------------------------------------------------------------
|
|
# Misc commands (safe to leave these untouched)
|
|
@@ -74,7 +74,11 @@
|
|
|
|
ELFLIB = lib$(THIS_LIB).so#
|
|
ELFLIB_MAJOR = $(ELFLIB).$(ELF_MAJOR_VERSION)#
|
|
+.if ( ${PORTOBJFORMAT} == "aout" )
|
|
ELFLIB_MAJOR_MINOR = $(ELFLIB).$(ELF_MAJOR_VERSION).$(ELF_MINOR_VERSION)#
|
|
+.else
|
|
+ELFLIB_MAJOR_MINOR = $(ELFLIB).$(ELF_MAJOR_VERSION)
|
|
+.endif
|
|
|
|
ELFDIR_ELF_LIB = $(ELFDIR)/$(ELFLIB_MAJOR_MINOR)#
|
|
|
|
@@ -108,6 +112,7 @@
|
|
$(ELFDIR_ELF_LIB): $(ELFDIR) $(CONFIG_H) $(ELFOBJS)
|
|
-$(RM) $(ELFDIR_ELF_LIB)
|
|
cd $(ELFDIR); $(ELF_LINK_CMD) -o $(ELFLIB_MAJOR_MINOR) $(OFILES) $(ELF_DEP_LIBS)
|
|
+ cd $(ELFDIR); strip $(ELFLIB_MAJOR_MINOR)
|
|
cd $(ELFDIR); $(RM) $(ELFLIB); $(LN) $(ELFLIB_MAJOR_MINOR) $(ELFLIB)
|
|
@echo ""
|
|
@echo $(ELFLIB_MAJOR_MINOR) created in $(ELFDIR).
|