summaryrefslogtreecommitdiff
path: root/pkgtools/p5-pkgsrc-Dewey
diff options
context:
space:
mode:
authortron <tron@pkgsrc.org>2006-03-02 11:10:28 +0000
committertron <tron@pkgsrc.org>2006-03-02 11:10:28 +0000
commit453ec065136d0c81c4648bdf5727623f6fd3ab91 (patch)
tree099e2d14065b5347ac416dcfee5c7bd3cdddfa87 /pkgtools/p5-pkgsrc-Dewey
parent8631c67fb1a65de4153510e7867cca6500b77904 (diff)
downloadpkgsrc-453ec065136d0c81c4648bdf5727623f6fd3ab91.tar.gz
Fix last broken commit which resulted in an incomplete shared object.
Bump package revision because of this change.
Diffstat (limited to 'pkgtools/p5-pkgsrc-Dewey')
-rw-r--r--pkgtools/p5-pkgsrc-Dewey/Makefile8
-rw-r--r--pkgtools/p5-pkgsrc-Dewey/files/Dewey.xs2
2 files changed, 6 insertions, 4 deletions
diff --git a/pkgtools/p5-pkgsrc-Dewey/Makefile b/pkgtools/p5-pkgsrc-Dewey/Makefile
index 81a232d553b..7ac30037590 100644
--- a/pkgtools/p5-pkgsrc-Dewey/Makefile
+++ b/pkgtools/p5-pkgsrc-Dewey/Makefile
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.2 2006/03/02 10:53:39 tron Exp $
+# $NetBSD: Makefile,v 1.3 2006/03/02 11:10:28 tron Exp $
DISTNAME= p5-pkgsrc-Dewey-1.0
+PKGREVISION= 1
CATEGORIES= pkgtools perl5
MASTER_SITES= # empty
DISTFILES= # empty
@@ -21,11 +22,12 @@ PKG_INSTALL_FILESDIR= ../../pkgtools/pkg_install/files
PKG_INSTALL_FILES= lib/dewey.c lib/dewey.h lib/defs.h
do-extract:
- ${MKDIR} ${WRKSRC}/lib
+ ${MKDIR} ${WRKSRC}
${CP} -r ${FILESDIR}/* ${WRKSRC}
for f in ${PKG_INSTALL_FILES}; do \
- ${CP} ${PKG_INSTALL_FILESDIR}/$$f ${WRKSRC}/lib; \
+ ${CP} ${PKG_INSTALL_FILESDIR}/$$f ${WRKSRC}; \
done
+ ${MV} ${WRKSRC}/dewey.c ${WRKSRC}/lib_dewey.c
${TOUCH} ${WRKSRC}/nbcompat.h
.include "../../lang/perl5/module.mk"
diff --git a/pkgtools/p5-pkgsrc-Dewey/files/Dewey.xs b/pkgtools/p5-pkgsrc-Dewey/files/Dewey.xs
index daaea89ca8b..9c696ab5794 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 <lib/dewey.h>
+#include <dewey.h>
MODULE = pkgsrc::Dewey PACKAGE = pkgsrc::Dewey