From cec931194c7dd4f39298be1984d12222ad1ea815 Mon Sep 17 00:00:00 2001 From: Baptiste Daroussin Date: Sat, 12 Jan 2013 22:49:07 +0000 Subject: [PATCH] Do not install .symbols on current Reported and tested by: kwm --- ports-mgmt/pkg/files/patch-libpkg__Makefile | 13 +++++++++++++ ports-mgmt/pkg/files/patch-pkg__Makefile | 12 ++++++++++++ 2 files changed, 25 insertions(+) create mode 100644 ports-mgmt/pkg/files/patch-libpkg__Makefile create mode 100644 ports-mgmt/pkg/files/patch-pkg__Makefile diff --git a/ports-mgmt/pkg/files/patch-libpkg__Makefile b/ports-mgmt/pkg/files/patch-libpkg__Makefile new file mode 100644 index 000000000000..dcf2767fdbe7 --- /dev/null +++ b/ports-mgmt/pkg/files/patch-libpkg__Makefile @@ -0,0 +1,13 @@ +--- ./libpkg/Makefile.orig 2012-12-21 12:57:15.000000000 +0100 ++++ ./libpkg/Makefile 2013-01-12 23:26:55.723640000 +0100 +@@ -94,8 +94,10 @@ + + CFLAGS+= -DPREFIX=\"${PREFIX}\" + ++.if defined(DEBUG_FLAGS) + DEBUG_FLAGS+= -g -O0 + STRIP= ++.endif + .if defined(PROFILE_BUILD) + DEBUG_FLAGS+= -pg + .endif diff --git a/ports-mgmt/pkg/files/patch-pkg__Makefile b/ports-mgmt/pkg/files/patch-pkg__Makefile new file mode 100644 index 000000000000..19246a6c9bcf --- /dev/null +++ b/ports-mgmt/pkg/files/patch-pkg__Makefile @@ -0,0 +1,12 @@ +--- ./pkg/Makefile.orig 2013-01-12 23:38:30.808841691 +0100 ++++ ./pkg/Makefile 2013-01-12 23:38:50.521899817 +0100 +@@ -38,7 +38,9 @@ + CFLAGS+= -DGITHASH="\" ${GITHASH}\"" + .endif + ++.if defined(DEBUG_FLAGS) + DEBUG_FLAGS+= -g -O0 ++.endif + .if defined(PROFILE_BUILD) + DEBUG_FLAGS+= -pg + .endif