$NetBSD: patch-ab,v 1.4 2006/03/22 22:14:43 joerg Exp $ --- programs/irr_rpsl_submit/Makefile.orig 2006-03-22 22:09:20.000000000 +0000 +++ programs/irr_rpsl_submit/Makefile @@ -11,6 +11,10 @@ RPSLOBJS = call_pipeline.o auth.o pgpc all: $(GOAL) +.if ${OPSYS} == "DragonFly" +LDFLAGS+= -lcrypt +.endif + irr_rpsl_submit: $(RPSLOBJS) @echo "Linking: $(LD) $(LDFLAGS) $(RPSLOBJS) -o $@ $(IRRD_OPS_LIBS)" $(LD) $(LDFLAGS) $(RPSLOBJS) -o $@ $(SYS_LIBS) $(CRYPT_LIB) -L../../lib/