aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Weisgerber <naddy@FreeBSD.org>2008-04-26 15:27:30 +0000
committerChristian Weisgerber <naddy@FreeBSD.org>2008-04-26 15:27:30 +0000
commit797a21a56381ea7b48401822639ee0e94f85a0b2 (patch)
tree7c6b1b52ef7f2a615bab48a69657fb20dec6079d
parentd035fd107f02398682b6892af71cebf91ca46c02 (diff)
downloadports-797a21a56381ea7b48401822639ee0e94f85a0b2.tar.gz
ports-797a21a56381ea7b48401822639ee0e94f85a0b2.zip
Notes
-rw-r--r--sysutils/sdd/Makefile7
-rw-r--r--sysutils/sdd/files/patch-include_schily.h11
-rw-r--r--sysutils/sdd/pkg-plist2
3 files changed, 15 insertions, 5 deletions
diff --git a/sysutils/sdd/Makefile b/sysutils/sdd/Makefile
index 0b3c7924d1bd..561f4c6bd2a7 100644
--- a/sysutils/sdd/Makefile
+++ b/sysutils/sdd/Makefile
@@ -15,17 +15,18 @@ COMMENT= Faster and improved version of dd
USE_GMAKE= yes
MAKE_ENV= MAKEPROG="${GMAKE}" CCOM="${CC}" COPTX="${CFLAGS}"
MAN1= sdd.1
+PLIST_FILES= bin/sdd
.include <bsd.port.pre.mk>
-.if ${MACHINE_ARCH} != "i386" || ${CC} != "cc"
+.if ${ARCH} != "i386" || ${CC} != "cc"
post-extract:
@${LN} -sf i386-freebsd-cc.rul \
- ${WRKSRC}/RULES/${MACHINE_ARCH}-freebsd-${CC}.rul
+ ${WRKSRC}/RULES/${ARCH}-freebsd-${CC}.rul
.endif
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/sdd/OBJ/${MACHINE_ARCH}-freebsd-${CC}/sdd \
+ ${INSTALL_PROGRAM} ${WRKSRC}/sdd/OBJ/${ARCH}-freebsd-${CC}/sdd \
${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/sdd/sdd.1 ${PREFIX}/man/man1
diff --git a/sysutils/sdd/files/patch-include_schily.h b/sysutils/sdd/files/patch-include_schily.h
new file mode 100644
index 000000000000..a8e023d9659c
--- /dev/null
+++ b/sysutils/sdd/files/patch-include_schily.h
@@ -0,0 +1,11 @@
+--- include/schily.h.orig 2008-04-26 16:53:01.000000000 +0200
++++ include/schily.h 2008-04-26 16:53:13.000000000 +0200
+@@ -108,8 +108,6 @@ extern int fexecle __PR((const char *, F
+ /* 6th arg not const, fexecv forces av[ac] = NULL */
+ extern int fexecv __PR((const char *, FILE *, FILE *, FILE *, int,
+ char **));
+-extern int fexecve __PR((const char *, FILE *, FILE *, FILE *,
+- char * const *, char * const *));
+ extern int fspawnv __PR((FILE *, FILE *, FILE *, int, char * const *));
+ extern int fspawnl __PR((FILE *, FILE *, FILE *,
+ const char *, const char *, ...));
diff --git a/sysutils/sdd/pkg-plist b/sysutils/sdd/pkg-plist
deleted file mode 100644
index c381ddd16429..000000000000
--- a/sysutils/sdd/pkg-plist
+++ /dev/null
@@ -1,2 +0,0 @@
-@comment $FreeBSD$
-bin/sdd