aboutsummaryrefslogtreecommitdiffstats
path: root/archivers
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2013-05-25 00:35:30 +0800
committerbapt <bapt@FreeBSD.org>2013-05-25 00:35:30 +0800
commit8fb596db30fc304c30072b44b4c7f855046822f1 (patch)
treefe4ce18513a9d787d533353cb3f6be9d8eacc957 /archivers
parent32614f4f72427625e19e6ceb4bc533c0bd4f401a (diff)
downloadfreebsd-ports-gnome-8fb596db30fc304c30072b44b4c7f855046822f1.tar.gz
freebsd-ports-gnome-8fb596db30fc304c30072b44b4c7f855046822f1.tar.zst
freebsd-ports-gnome-8fb596db30fc304c30072b44b4c7f855046822f1.zip
Do not let system make.conf inpact the port's makefile
This fixes build on current
Diffstat (limited to 'archivers')
-rw-r--r--archivers/libcabinet/Makefile1
-rw-r--r--archivers/libcabinet/files/patch-Makefile2
2 files changed, 2 insertions, 1 deletions
diff --git a/archivers/libcabinet/Makefile b/archivers/libcabinet/Makefile
index f2b30eec0a76..b17efe078f87 100644
--- a/archivers/libcabinet/Makefile
+++ b/archivers/libcabinet/Makefile
@@ -13,6 +13,7 @@ USE_LDCONFIG= yes
SRCFILE= ${WRKSRC}/listcab.cpp
PROGFILE= ${SRCFILE:S/.cpp$//}
+MAKE_ENV= WITHOUT_PROFILE=yes __MAKE_CONF=/dev/null SRCCONF=/dev/null
post-build:
${CXX} ${CXXFLAGS} -o ${PROGFILE} ${SRCFILE} -L${WRKSRC} -lcabinet
diff --git a/archivers/libcabinet/files/patch-Makefile b/archivers/libcabinet/files/patch-Makefile
index c649df161467..01e67ad0e9fc 100644
--- a/archivers/libcabinet/files/patch-Makefile
+++ b/archivers/libcabinet/files/patch-Makefile
@@ -1,7 +1,7 @@
--- Makefile.orig Tue Aug 19 18:15:11 2003
+++ Makefile Tue Aug 19 18:33:06 2003
@@ -0,0 +1,16 @@
-+NOPROFILE= true
++NO_PROFILE= true
+CXXFLAGS+= -Wno-deprecated
+LIB= cabinet
+LIBDIR= ${PREFIX}/lib