summaryrefslogtreecommitdiff
path: root/www/screws/patches/patch-ab
blob: 54eaacbb632b67f47e59ff599234f0b5e78dea38 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
$NetBSD: patch-ab,v 1.3 2006/01/10 18:28:06 joerg Exp $

--- src/Server/Makefile.orig	Mon Nov 22 01:04:00 2004
+++ src/Server/Makefile	Mon Nov 22 01:04:44 2004
@@ -37,8 +37,8 @@ opts:   
 	 echo -g > .opts ; fi
 	@if [ "${SSL}" = "1" ]; then echo " * USE_SSL"    ; \
 	 case "`uname`" in \
-	"NetBSD"|"FreeBSD"|"OpenBSD") \
-	 echo -L/usr/pkg/lib -lssl -lcrypto >> .opts ;; \
+	"NetBSD"|"FreeBSD"|"OpenBSD"|"DragonFly") \
+	 echo -L${PREFIX}/lib -R${PREFIX}/lib -lssl -lcrypto >> .opts ;; \
 	*) \
 	 echo -lssl >> .opts ; esac ; fi
 	@if [ "`uname`" = "Linux" ]; then echo " * USE_DLOPEN" ; \