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

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

Ghostscript 9.00rc1

File size: 1.8 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)
    52 LDFLAGS_SO=-shared -Wl,-soname=$(GS_SONAME_MAJOR)
     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)
     52#LDFLAGS_SO=-shared -Wl,-soname=$(GS_SONAME_MAJOR)
    5353
    5454# MacOS X
    55 #GS_SOEXT=dylib
    56 #GS_SONAME=$(GS_SONAME_BASE).$(GS_SOEXT)
    57 #GS_SONAME_MAJOR=$(GS_SONAME_BASE).$(GS_VERSION_MAJOR).$(GS_SOEXT)
    58 #GS_SONAME_MAJOR_MINOR=$(GS_SONAME_BASE).$(GS_VERSION_MAJOR).$(GS_VERSION_MINOR).$(GS_SOEXT)
     55GS_SOEXT=dylib
     56GS_SONAME=$(GS_SONAME_BASE).$(GS_SOEXT)
     57GS_SONAME_MAJOR=$(GS_SONAME_BASE).$(GS_VERSION_MAJOR).$(GS_SOEXT)
     58GS_SONAME_MAJOR_MINOR=$(GS_SONAME_BASE).$(GS_VERSION_MAJOR).$(GS_VERSION_MINOR).$(GS_SOEXT)
    5959#LDFLAGS_SO=-dynamiclib -flat_namespace
    60 #LDFLAGS_SO=-dynamiclib -install_name $(GS_SONAME_MAJOR_MINOR)
     60LDFLAGS_SO=-dynamiclib -install_name __PREFIX__/lib/$(GS_SONAME_MAJOR_MINOR)
    6161#LDFLAGS_SO=-dynamiclib -install_name $(FRAMEWORK_NAME)
    6262
    6363GS_SO=$(BINDIR)/$(GS_SONAME)
     
    7979# Build the small Ghostscript loaders, with Gtk+ and without
    8080$(GSSOC_XE): $(GS_SO) $(PSSRC)$(SOC_LOADER)
    8181        $(GLCC) -g -o $(GSSOC_XE) $(PSSRC)dxmainc.c \
    82         $(LDFLAGS) -L$(BINDIR) -l$(GS)
     82        -L$(BINDIR) -l$(GS)
    8383
    8484$(GSSOX_XE): $(GS_SO) $(PSSRC)$(SOC_LOADER)
    8585        $(GLCC) -g $(SOC_CFLAGS) -o $(GSSOX_XE) $(PSSRC)$(SOC_LOADER) \
    86         $(LDFLAGS) -L$(BINDIR) -l$(GS) $(SOC_LIBS)
     86        -L$(BINDIR) -l$(GS) $(SOC_LIBS)
    8787
    8888# ------------------------- Recursive make targets ------------------------- #
    8989
Note: See TracBrowser for help on using the repository browser.