freebsd-ports/graphics/ida/files/patch-GNUmakefile
Andrey Slusar 6f723e29fc - Fix libdir detection
- Delete `-Wno-pointer-sign' for build with gcc<4 (1)

Reported by:	pav (1)
2009-05-31 09:13:59 +00:00

21 lines
565 B
Text

--- GNUmakefile.orig 2006-06-13 16:35:48.000000000 +0300
+++ GNUmakefile 2009-05-31 12:06:34.000000000 +0300
@@ -8,7 +8,6 @@
# fixup flags
CFLAGS += -DVERSION='"$(VERSION)"' -I$(srcdir)
-CFLAGS += -Wno-pointer-sign
# default target
all: build
@@ -130,8 +129,8 @@
OBJS_IDA += $(call ac_lib_mkvar,$(ida_libs),OBJS)
# for X11 + Motif
-ida : CFLAGS += -I/usr/X11R6/include
-ida : LDFLAGS += -L/usr/X11R6/$(LIB)
+ida : CFLAGS += -I$(LOCALBASE)/include
+ida : LDFLAGS += -L$(LOCALBASE)/$(LIB)
ida : LDLIBS += -lXm -lXpm -lXt -lXext -lX11
# jpeg/exif libs