source: trunk/dports/sysutils/rpm/files/patch-python-makefile-in.diff @ 5195

Last change on this file since 5195 was 5195, checked in by ssen, 16 years ago

Explicitly depend on the python23 darwinport. Now the python module
builds. Yum is still broken somehow though

  • Property svn:eol-style set to native
File size: 1.3 KB
  • python/Makefile.in

    old new  
    198198        -I$(top_srcdir)/rpmio \
    199199        -I$(top_srcdir)/beecrypt \
    200200        -I$(top_srcdir)/popt \
    201         -I/usr/include/python${PYVER} \
     201        -I$(prefix)/include/python${PYVER} -I/usr/include/python${PYVER} \
    202202        @INCPATH@
    203203
    204204
     
    213213LDADD =
    214214
    215215pythondir = $(prefix)/lib/python${PYVER}/site-packages
    216 python_PROGRAMS = rpmmodule.so poptmodule.so
     216python_LTLIBRARIES = rpmmodule.so poptmodule.so
    217217
    218218rpmmodule_so_SOURCES =
    219 rpmmodule_so_LDFLAGS = $(mylibs) $(LIBS) -shared -Wl,-soname,rpmmodule.so
     219rpmmodule_so_LDFLAGS = $(mylibs) $(LIBS) -bundle -bundle_loader $(__PYTHON)
    220220poptmodule_so_SOURCES = poptmodule.c
    221 poptmodule_so_LDFLAGS = $(mylibs) $(LIBS) -shared -Wl,-soname,poptmodule.so
     221poptmodule_so_LDFLAGS = $(mylibs) $(LIBS) -bundle -bundle_loader $(__PYTHON)
    222222
    223223noinst_LTLIBRARIES = librpmmodule.la
    224224librpmmodule_la_SOURCES = rpmmodule.c hash.c upgrade.c
     
    476476
    477477
    478478rpmmodule.so: $(librpmmodule_la_OBJECTS)
    479         $(LINK) -o $@ $(librpmmodule_la_OBJECTS) $(rpmmodule_so_LDFLAGS)
     479        $(LINK) $(librpmmodule_la_OBJECTS) $(rpmmodule_so_LDFLAGS)
    480480
    481481poptmodule.so: $(poptmodule_so_OBJECTS)
    482         $(LINK) -o $@ $(poptmodule_so_OBJECTS) $(poptmodule_so_LDFLAGS)
     482        $(LINK) $(poptmodule_so_OBJECTS) $(poptmodule_so_LDFLAGS)
    483483
    484484.PHONY: lclint
    485485lclint:
Note: See TracBrowser for help on using the repository browser.