source: trunk/dports/print/ghostscript/files/patch-base_unix-dll.mak.diff @ 75870

Last change on this file since 75870 was 75870, checked in by takanori@…, 9 years ago

ghostscript: version 9.01

File size: 1.7 KB
  • base/unix-dll.mak

    old new  
    4545GS_SONAME_BASE=lib$(GS)
    4646
    4747# GNU/Linux
    48 GS_SOEXT=so
    49 GS_SONAME=$(GS_SONAME_BASE).$(GS_SOEXT)
    50 GS_SONAME_MAJOR=$(GS_SONAME).$(GS_VERSION_MAJOR)
    51 GS_SONAME_MAJOR_MINOR=$(GS_SONAME).$(GS_VERSION_MAJOR).$(GS_VERSION_MINOR)
     48#GS_SOEXT=so
     49#GS_SONAME=$(GS_SONAME_BASE).$(GS_SOEXT)
     50#GS_SONAME_MAJOR=$(GS_SONAME).$(GS_VERSION_MAJOR)
     51#GS_SONAME_MAJOR_MINOR=$(GS_SONAME).$(GS_VERSION_MAJOR).$(GS_VERSION_MINOR)
    5252#LDFLAGS_SO=-shared -Wl,-soname=$(GS_SONAME_MAJOR)
    5353
    5454# NOTE: the value of LD_SET_DT_SONAME for, for example, Solaris ld, must contain the
    5555# trailing space to separation it from the value of the option. For GNU ld and
    5656# similar linkers it must containt the trailing "="
    57 LDFLAGS_SO=-shared -Wl,$(LD_SET_DT_SONAME)$(LDFLAGS_SO_PREFIX)$(GS_SONAME_MAJOR)
     57#LDFLAGS_SO=-shared -Wl,$(LD_SET_DT_SONAME)$(LDFLAGS_SO_PREFIX)$(GS_SONAME_MAJOR)
    5858
    5959
    6060# MacOS X
    61 #GS_SOEXT=dylib
    62 #GS_SONAME=$(GS_SONAME_BASE).$(GS_SOEXT)
    63 #GS_SONAME_MAJOR=$(GS_SONAME_BASE).$(GS_VERSION_MAJOR).$(GS_SOEXT)
    64 #GS_SONAME_MAJOR_MINOR=$(GS_SONAME_BASE).$(GS_VERSION_MAJOR).$(GS_VERSION_MINOR).$(GS_SOEXT)
     61GS_SOEXT=dylib
     62GS_SONAME=$(GS_SONAME_BASE).$(GS_SOEXT)
     63GS_SONAME_MAJOR=$(GS_SONAME_BASE).$(GS_VERSION_MAJOR).$(GS_SOEXT)
     64GS_SONAME_MAJOR_MINOR=$(GS_SONAME_BASE).$(GS_VERSION_MAJOR).$(GS_VERSION_MINOR).$(GS_SOEXT)
    6565#LDFLAGS_SO=-dynamiclib -flat_namespace
    66 #LDFLAGS_SO=-dynamiclib -install_name $(GS_SONAME_MAJOR_MINOR)
     66LDFLAGS_SO=-dynamiclib -install_name __PREFIX__/lib/$(GS_SONAME_MAJOR_MINOR)
    6767#LDFLAGS_SO=-dynamiclib -install_name $(FRAMEWORK_NAME)
    6868
    6969GS_SO=$(BINDIR)/$(GS_SONAME)
Note: See TracBrowser for help on using the repository browser.