summaryrefslogtreecommitdiff
path: root/cad
diff options
context:
space:
mode:
authorhans <hans>2012-02-16 11:41:04 +0000
committerhans <hans>2012-02-16 11:41:04 +0000
commit5f965cb5fb85a221c2bb2388f40106564c619f94 (patch)
treeaaf462a40a7217ea11b17697d74687161bbf93f0 /cad
parent4fcd5843c69f08ab0fe667322163ac0a74319431 (diff)
downloadpkgsrc-5f965cb5fb85a221c2bb2388f40106564c619f94.tar.gz
Fix build on SunOS.
Diffstat (limited to 'cad')
-rw-r--r--cad/gsmc/Makefile3
-rw-r--r--cad/pcb/distinfo3
-rw-r--r--cad/pcb/patches/patch-icon-theme-installer12
3 files changed, 16 insertions, 2 deletions
diff --git a/cad/gsmc/Makefile b/cad/gsmc/Makefile
index 4c55b233d23..80b37ade678 100644
--- a/cad/gsmc/Makefile
+++ b/cad/gsmc/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.21 2012/02/06 12:39:33 wiz Exp $
+# $NetBSD: Makefile,v 1.22 2012/02/16 11:41:04 hans Exp $
#
DISTNAME= gsmc-1.1
@@ -16,6 +16,7 @@ PKG_DESTDIR_SUPPORT= user-destdir
GNU_CONFIGURE= YES
USE_TOOLS+= gmake pkg-config
+LDFLAGS.SunOS+= -lm
LDFLAGS.DragonFly= -lm
.include "../../x11/gtk2/buildlink3.mk"
diff --git a/cad/pcb/distinfo b/cad/pcb/distinfo
index 21426188fee..3562b6a9edb 100644
--- a/cad/pcb/distinfo
+++ b/cad/pcb/distinfo
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.19 2011/12/09 12:42:09 dmcmahill Exp $
+$NetBSD: distinfo,v 1.20 2012/02/16 11:43:23 hans Exp $
SHA1 (pcb-20110918.tar.gz) = 53ca27797d4db65a068b56f157e3ea6c5c29051f
RMD160 (pcb-20110918.tar.gz) = 1e176a03a7a61ac23b7abe532277415c87637c16
Size (pcb-20110918.tar.gz) = 4015128 bytes
SHA1 (patch-aa) = 444de8ec535224bd2fbc6633d4e00ae5d970719a
+SHA1 (patch-icon-theme-installer) = b3b183f2ab77c56e52d4cd96058a28bc7e2832bb
diff --git a/cad/pcb/patches/patch-icon-theme-installer b/cad/pcb/patches/patch-icon-theme-installer
new file mode 100644
index 00000000000..1087b25fd5d
--- /dev/null
+++ b/cad/pcb/patches/patch-icon-theme-installer
@@ -0,0 +1,12 @@
+$NetBSD: patch-icon-theme-installer,v 1.1 2012/02/16 11:43:25 hans Exp $
+
+--- icon-theme-installer.orig 2009-12-25 18:18:18.329539169 +0100
++++ icon-theme-installer 2009-12-25 19:01:51.837047302 +0100
+@@ -121,7 +121,6 @@ for icon in $@; do
+ size=`echo $icon | sed -n 's/.*-\([0-9]*\).*/\1/p'`
+ category=`echo $icon | cut -d, -f1`
+ build_name=`echo $icon | cut -d, -f2`
+- install_name=`echo $build_name | sed 's/-[0-9]\+//g'`
+ install_name=`basename $install_name`
+
+ if test -z $size; then