--- shell/source/unix/sysshell/makefile.mk.orig.port	Fri Aug  1 07:34:22 2008
+++ shell/source/unix/sysshell/makefile.mk	Thu Jan 15 14:47:50 2009
@@ -44,6 +44,11 @@ ENABLE_EXCEPTIONS=TRUE
 CFLAGS+=-DSYSTEM_EXPAT
 .ENDIF
 
+.IF "$(ENABLE_GTK)" != ""
+PKGCONFIG_MODULES=gtk+-2.0
+.INCLUDE: pkg_config.mk
+.ENDIF
+
 # --- Files --------------------------------------------------------
 
 .IF "$(OS)" != "MACOSX"
@@ -74,7 +79,7 @@ SHL1STDLIBS=$(EXPATASCII3RDLIB)\
 SHL1LIBS=$(SLB)$/xmlparser.lib
 SHL1OBJS=$(SLOFILES)
 SHL1VERSIONMAP=recfile.map
-
+SHL1STDLIBS+=$(PKGCONFIG_LIBS:s/ -lpangoxft-1.0//)
 .ELSE
 
 dummy:
