1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-25 04:43:33 +00:00
freebsd-ports/lang/afnix/files/patch-cnf::mak::aleph-rule.mak
Ying-Chieh Liao ed915f5143 - Support CXX/CXXFLAGS/PTHREAD_CFLAGS/PTHREAD_LIBS properly
- Fix pkg-plist
- Strip binaries

PR:		26554
Submitted by:	tkato@prontomail.ne.jp
2001-04-14 11:01:23 +00:00

32 lines
880 B
Makefile

--- cnf/mak/aleph-rule.mak.orig Thu Mar 8 14:59:08 2001
+++ cnf/mak/aleph-rule.mak Sat Apr 14 05:43:10 2001
@@ -62,8 +62,8 @@
endif
ifeq ($(LKMODE),soname)
-SONAME = $(SOLIB).$(MAJOR).$(MINOR)
-SOVERS = $(SOLIB).$(MAJOR).$(MINOR).$(PATCH)
+SONAME = $(SOLIB).$(MAJOR)
+SOVERS = $(SOLIB).$(MAJOR)
endif
# ----------------------------------------------------------------------------
@@ -124,17 +124,13 @@
$(SOLIB) : $(SOVERS)
@$(MKDIR) $(BLDLIB)
@$(CP) $(SOVERS) $(BLDLIB)
- @$(RM) $(BLDLIB)/$(SOLIB)
@$(RM) $(BLDLIB)/$(SONAME)
- @$(LN) $(SOVERS) $(BLDLIB)/$(SONAME)
@$(LN) $(SONAME) $(BLDLIB)/$(SOLIB)
install-solib : $(SOVERS)
@$(MKDIR) $(LIBDIR)
@$(CP) $(SOVERS) $(LIBDIR)
- @$(RM) $(LIBDIR)/$(SONAME)
@$(RM) $(LIBDIR)/$(SOLIB)
- @$(LN) $(SOVERS) $(LIBDIR)/$(SONAME)
@$(LN) $(SONAME) $(LIBDIR)/$(SOLIB)
.PHONY: install-solib
endif