$NetBSD: patch-bg,v 1.4 2008/04/07 16:24:51 hira Exp $ --- vcl/util/makefile.mk.orig 2008-01-24 02:19:40.000000000 +0900 +++ vcl/util/makefile.mk 2008-04-07 18:15:43.000000000 +0900 @@ -323,8 +323,8 @@ .IF "$(GUIBASE)"=="unx" -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