summaryrefslogtreecommitdiff
path: root/x11
diff options
context:
space:
mode:
authorhans <hans>2011-09-14 18:12:57 +0000
committerhans <hans>2011-09-14 18:12:57 +0000
commit45e1caaff4fac2b9eebc691f2feb4f2c772b5d00 (patch)
tree37977692f218a75c9f1be4bc99ea7a14682612da /x11
parentd0c35a640efeef7ec368933897c473d30336028a (diff)
downloadpkgsrc-45e1caaff4fac2b9eebc691f2feb4f2c772b5d00.tar.gz
Fix build on SunOS.
Diffstat (limited to 'x11')
-rw-r--r--x11/gnustep-gui/PLIST.SunOS2
-rw-r--r--x11/qt4-tools/Makefile9
-rw-r--r--x11/qt4-tools/PLIST6
3 files changed, 14 insertions, 3 deletions
diff --git a/x11/gnustep-gui/PLIST.SunOS b/x11/gnustep-gui/PLIST.SunOS
new file mode 100644
index 00000000000..814b2e398af
--- /dev/null
+++ b/x11/gnustep-gui/PLIST.SunOS
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST.SunOS,v 1.1 2011/09/14 18:17:14 hans Exp $
+lib/libgnustep-gui.so.0.18
diff --git a/x11/qt4-tools/Makefile b/x11/qt4-tools/Makefile
index 57aad7a95ed..7fba893a3db 100644
--- a/x11/qt4-tools/Makefile
+++ b/x11/qt4-tools/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.46 2011/09/04 15:42:52 adam Exp $
+# $NetBSD: Makefile,v 1.47 2011/09/14 18:12:57 hans Exp $
PKG_DESTDIR_SUPPORT= user-destdir
@@ -29,6 +29,13 @@ INSTALLATION_DIRS+= ${QTPREFIX}/mkspecs
INSTALLATION_DIRS+= ${QTPREFIX}/tools/qdoc3
INSTALL_ENV+= INSTALL_ROOT=${DESTDIR}
+PLIST_VARS+= notSunOS SunOS
+.if ${OPSYS} == "SunOS"
+PLIST.SunOS= yes
+.else
+PLIST.notSunOS= yes
+.endif
+
post-configure:
ln -sf ${QTPREFIX}/bin/moc ${WRKSRC}/bin/moc
ln -sf ${QTPREFIX}/bin/uic ${WRKSRC}/bin/uic
diff --git a/x11/qt4-tools/PLIST b/x11/qt4-tools/PLIST
index 1cdba5c70f7..db868531a17 100644
--- a/x11/qt4-tools/PLIST
+++ b/x11/qt4-tools/PLIST
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.26 2011/09/04 15:42:52 adam Exp $
+@comment $NetBSD: PLIST,v 1.27 2011/09/14 18:12:57 hans Exp $
lib/pkgconfig/QtCLucene.pc
lib/pkgconfig/QtDesigner.pc
lib/pkgconfig/QtDesignerComponents.pc
@@ -195,7 +195,9 @@ qt4/mkspecs/cygwin-g++/qmake.conf
qt4/mkspecs/cygwin-g++/qplatformdefs.h
qt4/mkspecs/darwin-g++/qmake.conf
qt4/mkspecs/darwin-g++/qplatformdefs.h
-qt4/mkspecs/default
+${PLIST.notSunOS}qt4/mkspecs/default
+${PLIST.SunOS}qt4/mkspecs/default/qmake.conf
+${PLIST.SunOS}qt4/mkspecs/default/qplatformdefs.h
qt4/mkspecs/features/build_pass.prf
qt4/mkspecs/features/dbusadaptors.prf
qt4/mkspecs/features/dbusinterfaces.prf