1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-05 22:43:24 +00:00
freebsd-ports/japanese/iv/files/patch-ae
Steve Price 683e30678e Convert to ELF.
PR:		8240
Submitted by:	maintainer
1998-10-20 01:23:10 +00:00

28 lines
669 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 ${PORTOBJFORMAT} == "elf"
+VERSION = 3
+.else
+VERSION = 3.1
+.endif
KIT_CCFLAGS = KitFlags
LIBPATHS = -DIV_LIBALL='"$(ABSLIBALLDIR)"' -DX_LIBDIR='"$(XLIBDIR)"'