pkgsrc/cad/gplcver/patches/patch-ac
2006-06-07 23:52:17 +00:00

17 lines
428 B
Text

$NetBSD: patch-ac,v 1.2 2006/06/07 23:52:17 minskim Exp $
--- src/makefile.freebsd.orig 2005-07-06 17:53:09.000000000 +0000
+++ src/makefile.freebsd
@@ -45,10 +45,10 @@ CC=cc
# select loader
LD=ld
# needed for dynamic PLI loading
-LFLAGS=-export-dynamic
+LFLAGS=-export-dynamic -Wl,-R${PREFIX}/lib/gplcver
# system libs
-LIBS= -lm
+LIBS= -lm ${DL_LIBS}
# rule for making the cver binary
cver: $(MAINOBJ) $(CVER_OBJS)