1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-04 22:33:27 +00:00
freebsd-ports/japanese/iv/files/patch-ae
Satoshi Taoka 418136972c Modified to build on 4-current
PR:		13744
Submiited by:	maintainer
1999-09-20 05:36:53 +00:00

28 lines
697 B
Plaintext

--- src/lib/IV/Imakefile.orig Wed Oct 7 13:46:44 1998
+++ src/lib/IV/Imakefile Wed Oct 7 15:57:25 1998
@@ -18,11 +18,6 @@
$(DISPATCH)/iohandler.$(CCSUFFIX)
#endif
-#ifdef SharedCCFlags
-#undef SharedCCFlags
-#define SharedCCFlags -PIC
-#endif
-
INTERVIEWS = $(SRC)/../InterViews
IV_2_6 = $(SRC)/../IV-2_6
IV_X11 = $(SRC)/../IV-X11
@@ -37,7 +32,11 @@
$(OS)$(SLASH)*.$(CCSUFFIX)
/* TIFF not included because it can't use the same flags */
LIB = IV
-VERSION = 3.1
+.if defined(PORTOBJFORMAT) && ($(PORTOBJFORMAT) == "elf")
+VERSION = 3
+.else
+VERSION = 3.1
+.endif
KIT_CCFLAGS = KitFlags
LIBPATHS = -DIV_LIBALL='"$(ABSLIBALLDIR)"' -DX_LIBDIR='"$(XLIBDIR)"'