summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortron <tron@pkgsrc.org>2006-03-02 10:53:39 +0000
committertron <tron@pkgsrc.org>2006-03-02 10:53:39 +0000
commitb4a3bf82373b55231d2307b544463a6fb2bea2df (patch)
treea1fb5a99508aaa240b82c69758b1170ebc31b0d9
parent89fb02f1de25ac2d1a11cdaf844163508eb807fa (diff)
downloadpkgsrc-b4a3bf82373b55231d2307b544463a6fb2bea2df.tar.gz
Rearrange build process to work on case-insensitive filesystems e.g.
on a standard HFS+ partition under Mac OS X.
-rw-r--r--pkgtools/p5-pkgsrc-Dewey/Makefile7
-rw-r--r--pkgtools/p5-pkgsrc-Dewey/files/Dewey.xs2
2 files changed, 4 insertions, 5 deletions
diff --git a/pkgtools/p5-pkgsrc-Dewey/Makefile b/pkgtools/p5-pkgsrc-Dewey/Makefile
index 75cec453c85..81a232d553b 100644
--- a/pkgtools/p5-pkgsrc-Dewey/Makefile
+++ b/pkgtools/p5-pkgsrc-Dewey/Makefile
@@ -1,5 +1,4 @@
-# $NetBSD: Makefile,v 1.1.1.1 2005/11/13 19:53:19 wiz Exp $
-#
+# $NetBSD: Makefile,v 1.2 2006/03/02 10:53:39 tron Exp $
DISTNAME= p5-pkgsrc-Dewey-1.0
CATEGORIES= pkgtools perl5
@@ -22,10 +21,10 @@ PKG_INSTALL_FILESDIR= ../../pkgtools/pkg_install/files
PKG_INSTALL_FILES= lib/dewey.c lib/dewey.h lib/defs.h
do-extract:
- ${MKDIR} ${WRKSRC}
+ ${MKDIR} ${WRKSRC}/lib
${CP} -r ${FILESDIR}/* ${WRKSRC}
for f in ${PKG_INSTALL_FILES}; do \
- ${CP} ${PKG_INSTALL_FILESDIR}/$$f ${WRKSRC}; \
+ ${CP} ${PKG_INSTALL_FILESDIR}/$$f ${WRKSRC}/lib; \
done
${TOUCH} ${WRKSRC}/nbcompat.h
diff --git a/pkgtools/p5-pkgsrc-Dewey/files/Dewey.xs b/pkgtools/p5-pkgsrc-Dewey/files/Dewey.xs
index 9c696ab5794..daaea89ca8b 100644
--- a/pkgtools/p5-pkgsrc-Dewey/files/Dewey.xs
+++ b/pkgtools/p5-pkgsrc-Dewey/files/Dewey.xs
@@ -2,7 +2,7 @@
#include "perl.h"
#include "XSUB.h"
-#include <dewey.h>
+#include <lib/dewey.h>
MODULE = pkgsrc::Dewey PACKAGE = pkgsrc::Dewey