$NetBSD: patch-bg,v 1.3 2007/04/05 23:24:01 hira Exp $ --- vcl/util/makefile.mk.orig 2007-01-19 21:56:23.000000000 +0900 +++ vcl/util/makefile.mk 2007-04-01 21:30:29.000000000 +0900 @@ -300,8 +300,8 @@ SHL2STDLIBS+=$(LIBSN_LIBS) .ENDIF -SHL2STDLIBS += -lXext -lSM -lICE -lX11 -.IF "$(OS)"!="MACOSX" && "$(OS)"!="FREEBSD" +SHL2STDLIBS += $(X11_LDFLAGS) -lXext -lSM -lICE -lX11 +.IF "$(OS)"!="MACOSX" && "$(OS)"!="FREEBSD" && "$(OS)"!="NETBSD" # needed by salprnpsp.cxx SHL2STDLIBS+= -ldl .ENDIF