summaryrefslogtreecommitdiff
path: root/x11/gtk/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'x11/gtk/Makefile')
-rw-r--r--x11/gtk/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/x11/gtk/Makefile b/x11/gtk/Makefile
index 0c26238acf0..1796444c20f 100644
--- a/x11/gtk/Makefile
+++ b/x11/gtk/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.64 2001/06/29 04:54:56 jlam Exp $
+# $NetBSD: Makefile,v 1.65 2001/08/29 22:41:29 jlam Exp $
DISTNAME= gtk+-1.2.10
CATEGORIES= x11
@@ -34,7 +34,7 @@ PLIST_SUBST+= LOCALBASE=${LOCALBASE}
# The following ensures that `gtk-config --libs' includes the correct linker
# flags for linking the X11 libs.
#
-X_LDFLAGS= -Wl,-R${X11BASE}/lib -L${X11BASE}/lib
+X_LDFLAGS= -Wl,-R${X11BASE}/lib -L${BUILDLINK_X11_DIR}/lib
GTK_VERSION= ${DISTNAME:S/gtk+-//}
GTK_MAJOR_VERSION= ${GTK_VERSION:C/\..*//}
@@ -66,4 +66,5 @@ post-install:
.include "../../devel/gettext-lib/buildlink.mk"
.include "../../devel/glib/buildlink.mk"
+.include "../../mk/x11.buildlink.mk"
.include "../../mk/bsd.pkg.mk"