oops, forgot to add this patch
This commit is contained in:
parent
db3ee550f7
commit
8b6fb3f54d
30
graphics/py-Imaging/patches/patch-libImaging_Makefile_in
Normal file
30
graphics/py-Imaging/patches/patch-libImaging_Makefile_in
Normal file
@ -0,0 +1,30 @@
|
||||
$OpenBSD: patch-libImaging_Makefile_in,v 1.1 2002/03/23 23:34:04 matt Exp $
|
||||
--- libImaging/Makefile.in.orig Mon Mar 18 09:44:29 2002
|
||||
+++ libImaging/Makefile.in Mon Mar 18 09:46:32 2002
|
||||
@@ -30,7 +30,7 @@ LIBS= @LIBS@ @LIBM@
|
||||
# Other things that are customizable but not by configure
|
||||
|
||||
INCLDIR= $(srcdir)/.
|
||||
-JPEGINCLUDE= /usr/local/include
|
||||
+JPEGINCLUDE= ${LOCALBASE}/include
|
||||
OPT= @OPT@
|
||||
#OPT= -g
|
||||
CFLAGS= $(OPT) -I$(INCLDIR) -I$(JPEGINCLUDE) $(DEFS)
|
||||
@@ -80,7 +80,7 @@ LIB= libImaging.a
|
||||
all: coretest $(LIB)
|
||||
|
||||
coretest: coretest.o $(LIB)
|
||||
- $(CC) -o coretest coretest.o $(LIB) $(LIBS)
|
||||
+ $(CC) -o coretest coretest.o -L${LOCALBASE}/lib $(LIB) $(LIBS)
|
||||
|
||||
$(LIB): $& $(OBJS)
|
||||
-rm -f $(LIB)
|
||||
@@ -119,7 +119,7 @@ Imaging_wrap.c:
|
||||
wrap -python -dnone Imaging.i
|
||||
|
||||
exercise: Imaging_wrap.c
|
||||
- gcc -I../../../Include Imaging_wrap.c -c
|
||||
+ ${CC} -I../../../Include Imaging_wrap.c -c
|
||||
ld -shared -expect_unresolved "*" Imaging_wrap.o\
|
||||
libImaging.a -o Imaging.so
|
||||
python exerciseImaging.py
|
Loading…
Reference in New Issue
Block a user