From 681c474c763ec3d38189edc777587ef75e04231c Mon Sep 17 00:00:00 2001 From: "Vanilla I. Shu" Date: Wed, 7 Oct 1998 15:02:43 +0000 Subject: Convert to elf, And fix the path of MASTER_SITE. --- www/cgihtml/files/Makefile | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) (limited to 'www/cgihtml/files') diff --git a/www/cgihtml/files/Makefile b/www/cgihtml/files/Makefile index d5a528d3b9b7..6b5f879b534c 100644 --- a/www/cgihtml/files/Makefile +++ b/www/cgihtml/files/Makefile @@ -1,8 +1,13 @@ # Makefile for cgihtml libraries -CFLAGS= -O #-DUPLOADDIR='"/tmp"' LIB = cgihtml -SHLIB_VER = 1.0 +MAJ = 1 +MIN = 0 +.if ($(PORTOBJFORMAT) == "elf") +SHLIB_VER = $(MAJ) +.else +SHLIB_VER = $(MAJ).$(MIN) +.endif OBJS = string-lib.o cgi-llist.o cgi-lib.o html-lib.o HDRS = ${OBJS:.o=.h} @@ -37,9 +42,8 @@ install: @mkdir -p ${PREFIX}/lib @mkdir -p ${PREFIX}/include ${INSTALL} -c -m 644 lib${LIB}.a ${PREFIX}/lib - ${RANLIB} -t ${PREFIX}/lib/lib${LIB}.a +# ${RANLIB} -t ${PREFIX}/lib/lib${LIB}.a ${INSTALL} -c -m 644 lib${LIB}.so.${SHLIB_VER} ${PREFIX}/lib - /sbin/ldconfig -m ${PREFIX}/lib .for file in ${HDRS} ${INSTALL} -c -m 644 ${file} ${PREFIX}/include .endfor -- cgit v1.2.3