Skip to content
Permalink
Browse files

fix 'install_name' of dylibs, inc. revision

git-svn-id: https://svn.macports.org/repository/macports/trunk/dports@15085 d073be05-634f-4543-b044-5fe20cf6d1d6
  • Loading branch information
Markus W. Weißmann
Markus W. Weißmann committed Nov 20, 2005
1 parent 9d87098 commit 2d71430c6498a9e2b955e187462d374517e1fcf2
Showing with 21 additions and 1 deletion.
  1. +3 −1 textproc/xalanc/Portfile
  2. +18 −0 textproc/xalanc/files/patch-Makefile.incl.in
@@ -1,9 +1,10 @@
# $Id: Portfile,v 1.7 2005/11/18 17:10:23 mww Exp $
# $Id: Portfile,v 1.8 2005/11/20 14:36:41 mww Exp $

PortSystem 1.0

name xalanc
version 1.10.0
revision 1
categories textproc
platforms darwin freebsd
maintainers mww@opendarwin.org
@@ -19,6 +20,7 @@ homepage http://xml.apache.org/xalan-c/
master_sites apache:xml/xalan-c/source/
distname Xalan-C_1_10_0-src
checksums md5 0a3fbb535885531cc544b07a2060bfb1
patchfiles patch-Makefile.incl.in

depends_lib port:xercesc

@@ -0,0 +1,18 @@
--- Makefile.incl.in 2005-10-04 23:25:21.000000000 +0200
+++ Makefile.incl.in 2005-11-20 15:14:11.000000000 +0100
@@ -529,13 +529,13 @@
CC4 = ${CC} $(CXXFLAGS) $(PLATFORM_COMPILE_OPTIONS)
LIB = $(LIB_NAME).$(LIB_MAJOR_VER).$(LIB_MINOR_VER)$(SHLIBSUFFIX)
SO_NAME = $(LIB_NAME).$(LIB_MAJOR_VER)$(SHLIBSUFFIX)
- MAKE_SHARED = ${CXX} $(CXXFLAGS) -D${PLATFORM} -dynamiclib -prebind -seg1addr 0x38000000 -compatibility_version 1 -current_version $(LIB_MAJOR_DOT_VER) -install_name ${LINK_NAME} ${LDFLAGS}
+ MAKE_SHARED = ${CXX} $(CXXFLAGS) -D${PLATFORM} -dynamiclib -prebind -seg1addr 0x38000000 -compatibility_version 1 -current_version $(LIB_MAJOR_DOT_VER) -install_name ${PREFIX}/lib/${LINK_NAME} ${LDFLAGS}
LINK = ${CXX} $(CXXFLAGS) ${PLATFORM_COMPILE_OPTIONS} ${LDFLAGS}

export DYLD_LIBRARY_PATH := $(XERCESCROOT)/lib:$(ICULIB_LOC):$(DYLD_LIBRARY_PATH)
LOC_LIB = ${LOC_LIBNAME}.${LIB_MAJOR_VER}.${LIB_MINOR_VER}$(SHLIBSUFFIX)
LOC_SONAME = ${LOC_LIBNAME}.${LIB_MAJOR_VER}${SHLIBSUFFIX}
- MAKE_SHARED_LOC= ${CXX} $(CXXFLAGS) -D${PLATFORM} -dynamiclib -prebind -seg1addr 0x40000000 -compatibility_version 1 -current_version $(LIB_MAJOR_DOT_VER) -install_name ${LOC_LIBNAME}${SHLIBSUFFIX} ${LDFLAGS}
+ MAKE_SHARED_LOC= ${CXX} $(CXXFLAGS) -D${PLATFORM} -dynamiclib -prebind -seg1addr 0x40000000 -compatibility_version 1 -current_version $(LIB_MAJOR_DOT_VER) -install_name ${PREFIX}/lib/${LOC_LIBNAME}${SHLIBSUFFIX} ${LDFLAGS}
endif

#=============== OS400 SPECIFIC OPTIONS =========================

0 comments on commit 2d71430

Please sign in to comment.
You can’t perform that action at this time.