head	1.2;
access;
symbols
	RELEASE_9_0_0:1.1
	RELEASE_7_4_0:1.1
	RELEASE_8_2_0:1.1
	RELEASE_6_EOL:1.1
	RELEASE_8_1_0:1.1
	RELEASE_7_3_0:1.1
	RELEASE_8_0_0:1.1
	RELEASE_7_2_0:1.1
	RELEASE_7_1_0:1.1
	RELEASE_6_4_0:1.1
	RELEASE_5_EOL:1.1
	RELEASE_7_0_0:1.1
	RELEASE_6_3_0:1.1
	PRE_XORG_7:1.1
	RELEASE_4_EOL:1.1
	RELEASE_6_2_0:1.1
	RELEASE_6_1_0:1.1
	RELEASE_5_5_0:1.1
	RELEASE_6_0_0:1.1
	RELEASE_5_4_0:1.1
	RELEASE_4_11_0:1.1
	RELEASE_5_3_0:1.1
	RELEASE_4_10_0:1.1;
locks; strict;
comment	@# @;


1.2
date	2012.02.08.18.56.48;	author pgollucci;	state dead;
branches;
next	1.1;

1.1
date	2004.03.15.21.52.56;	author kris;	state Exp;
branches;
next	;


desc
@@


1.2
log
@- Update to 2.8.18
- Remove patches sent upstream

PR:             ports/163218
Submitted by:   scf
Approved by:    maintainer timeout (sbz ; 57 days)
@
text
@--- cracklib/Makefile.orig	Mon Mar 15 04:45:15 2004
+++ cracklib/Makefile	Mon Mar 15 04:45:21 2004
@@@@ -7,12 +7,24 @@@@
 ###
 
 LIB=	libcrack.a
+SHLIB=	libcrack.so.1
 OBJ=	fascist.o packlib.o rules.o stringlib.o
-CFLAGS= -O -I../cracklib -DIN_CRACKLIB
+SHOBJ=	fascist.So packlib.So rules.So stringlib.So
+CFLAGS+=-I../cracklib -DIN_CRACKLIB
+
+.SUFFIXES: .o .So
+
+.c.So:
+	$(CC) $(CFLAGS) -fPIC -o $*.So -c $?
 
 $(LIB):	$(OBJ)
 	ar rv $(LIB) $?
 	-ranlib $(LIB)
+
+$(SHLIB): $(SHOBJ)
+	ld -shared -o ${SHLIB} ${SHOBJ}
+
+all:	$(LIB) $(SHLIB)
 
 clean:
 	-rm -f $(OBJ) $(LIB) *~
@


1.1
log
@Build a shared library.  This fixes the build of dependent ports on amd64,
which cannot link non-PIC lib.a code into a lib.so.  Also respect CFLAGS
while I'm here, and bump PORTREVISION.

Reviewed by:	maintainer
@
text
@@

