Ticket #16194: patch

File patch, 1.1 KB (added by vinc17@…, 16 years ago)

patch that fixes the bug

  • files/patch-nselib-bin-Makefile.in

     
     1--- nselib-bin/Makefile.in.old  2007-11-28 00:13:53.000000000 +0100
     2+++ nselib-bin/Makefile.in      2008-08-04 18:26:02.000000000 +0200
     3@@ -2,6 +2,7 @@
     4 
     5 CC = @CC@
     6 CXX = @CXX@
     7+CPPFLAGS = @CPPFLAGS@
     8 CCOPT =
     9 DBGFLAGS =
     10 
     11@@ -15,7 +16,7 @@
     12 all: bit.so
     13 
     14 bit.so: bit.c @LIBTOOL_DEPS@
     15-       $(LIBTOOL) $(LTFLAGS) --mode=compile $(CC) @LUAINCLUDE@ $(CFLAGS) -c bit.c
     16+       $(LIBTOOL) $(LTFLAGS) --mode=compile $(CC) @LUAINCLUDE@ $(CPPFLAGS) $(CFLAGS) -c bit.c
     17        $(LIBTOOL) $(LTFLAGS) --mode=link $(CC) -avoid-version -module -rpath /usr/local/lib -o bit.la bit.lo
     18        mv .libs/bit.so bit.so
     19 
  • Portfile

     
    3636
    3737use_bzip2       yes
    3838
     39patchfiles      patch-nselib-bin-Makefile.in
     40
    3941configure.args  --without-zenmap\
    4042                --mandir=\\\${prefix}/share/man \
    4143                --infodir=\\\${prefix}/share/info \