aboutsummaryrefslogtreecommitdiff
path: root/ports-mgmt/pkg/files
diff options
context:
space:
mode:
authorBryan Drewery <bdrewery@FreeBSD.org>2013-10-13 22:33:48 +0000
committerBryan Drewery <bdrewery@FreeBSD.org>2013-10-13 22:33:48 +0000
commit982a938e190136f3fbedab4ce2c4f27369efb438 (patch)
tree97713d81ba290eb4b0eb46194fab90c13b59ea3d /ports-mgmt/pkg/files
parent70377e983a0e294ed9cb2ee2fbeff4c39278dd99 (diff)
downloadports-982a938e190136f3fbedab4ce2c4f27369efb438.tar.gz
ports-982a938e190136f3fbedab4ce2c4f27369efb438.zip
Notes
Diffstat (limited to 'ports-mgmt/pkg/files')
-rw-r--r--ports-mgmt/pkg/files/patch-external__Makefile11
-rw-r--r--ports-mgmt/pkg/files/patch-libpkg__Makefile15
-rw-r--r--ports-mgmt/pkg/files/patch-pkg-static__Makefile15
3 files changed, 41 insertions, 0 deletions
diff --git a/ports-mgmt/pkg/files/patch-external__Makefile b/ports-mgmt/pkg/files/patch-external__Makefile
new file mode 100644
index 000000000000..b7c61154374a
--- /dev/null
+++ b/ports-mgmt/pkg/files/patch-external__Makefile
@@ -0,0 +1,11 @@
+--- ./external/Makefile.orig 2013-07-06 05:48:19.000000000 -0500
++++ ./external/Makefile 2013-10-12 07:25:25.353758158 -0500
+@@ -1,8 +1,6 @@
+ SUBDIR= sqlite
+
+-.if !exists(/usr/include/bsdyml.h)
+ SUBDIR+= libyaml
+-.endif
+
+ .if defined(WITH_BUNDLED_LIBELF)
+ SUBDIR+= libelf
diff --git a/ports-mgmt/pkg/files/patch-libpkg__Makefile b/ports-mgmt/pkg/files/patch-libpkg__Makefile
new file mode 100644
index 000000000000..f72e4f7fadc1
--- /dev/null
+++ b/ports-mgmt/pkg/files/patch-libpkg__Makefile
@@ -0,0 +1,15 @@
+--- ./libpkg/Makefile.orig 2013-07-06 05:48:19.000000000 -0500
++++ ./libpkg/Makefile 2013-10-12 07:25:25.353758158 -0500
+@@ -82,12 +82,8 @@
+ -I${.CURDIR}/../external/sqlite \
+ -I${.CURDIR}/../external/uthash
+
+-.if !exists(/usr/include/bsdyml.h)
+ CFLAGS+= -DBUNDLED_YAML -I ${.CURDIR}/../external/libyaml/include
+ LDADD+= -L${.OBJDIR}/../external/libyaml -lyaml
+-.else
+-LDADD+= -lbsdyml
+-.endif
+
+ .if defined(WITH_BUNDLED_LIBELF)
+ CFLAGS+= -I${.CURDIR}/../external/libelf \
diff --git a/ports-mgmt/pkg/files/patch-pkg-static__Makefile b/ports-mgmt/pkg/files/patch-pkg-static__Makefile
new file mode 100644
index 000000000000..b05db45bc478
--- /dev/null
+++ b/ports-mgmt/pkg/files/patch-pkg-static__Makefile
@@ -0,0 +1,15 @@
+--- ./pkg-static/Makefile.orig 2013-07-06 05:48:19.000000000 -0500
++++ ./pkg-static/Makefile 2013-10-12 07:25:25.352756808 -0500
+@@ -6,12 +6,8 @@
+ NOMAN= yes
+ LDADD_STATIC= -L${.OBJDIR}/../external/sqlite
+
+-.if !exists(/usr/include/bsdyml.h)
+ LDADD_STATIC+= -L${.OBJDIR}/../external/libyaml \
+ -lyaml
+-.else
+-LDADD_STATIC+= -lbsdyml
+-.endif
+
+ .if defined(WITH_BUNDLED_LIBELF)
+ LDADD_STATIC+= -L${.OBJDIR}/../external/libelf