aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorhrs <hrs@FreeBSD.org>2004-08-21 00:44:30 +0800
committerhrs <hrs@FreeBSD.org>2004-08-21 00:44:30 +0800
commitff3284cf3f0fbee0ed27adbfa1e611558481f401 (patch)
tree8dbab554ad2512a69e7ee5a6738bda6d837b0067
parent4aa8eb3a115c8fdccb7e8d95d878e177d16aa35c (diff)
downloadfreebsd-ports-gnome-ff3284cf3f0fbee0ed27adbfa1e611558481f401.tar.gz
freebsd-ports-gnome-ff3284cf3f0fbee0ed27adbfa1e611558481f401.tar.zst
freebsd-ports-gnome-ff3284cf3f0fbee0ed27adbfa1e611558481f401.zip
- Remove unnecessary CONFIGURE_ARGS.
- Fix the build on 5.x[*]. [*]Reported by: kris
-rw-r--r--japanese/dvi2dvi/Makefile1
-rw-r--r--japanese/dvi2dvi/files/patch-defs.h24
2 files changed, 24 insertions, 1 deletions
diff --git a/japanese/dvi2dvi/Makefile b/japanese/dvi2dvi/Makefile
index 05b967c7d9ad..53227e5c25c3 100644
--- a/japanese/dvi2dvi/Makefile
+++ b/japanese/dvi2dvi/Makefile
@@ -23,7 +23,6 @@ USE_GMAKE= yes
MAKE_ENV+= kpathsea_parent=../${KPATHSEA_PARENT}
GNU_CONFIGURE= yes
CONFIGURE_WRKSRC= ${WRKDIR}/${KPATHSEA_PARENT}/kpathsea
-CONFIGURE_ARGS+= --prefix=${PREFIX}
KPATHSEA_PARENT= web2c-7.2
diff --git a/japanese/dvi2dvi/files/patch-defs.h b/japanese/dvi2dvi/files/patch-defs.h
new file mode 100644
index 000000000000..06e23b5dcad0
--- /dev/null
+++ b/japanese/dvi2dvi/files/patch-defs.h
@@ -0,0 +1,24 @@
+--- defs.h.orig Sat Aug 21 01:06:36 2004
++++ defs.h Sat Aug 21 01:07:14 2004
+@@ -35,21 +35,11 @@
+ char *realloc();
+ char *calloc();
+ int free();
+-#ifdef ANSI
+-char *sprintf(char *, const char *, ...);
+-#else
+-char *sprintf();
+-#endif
+ #else
+ void *malloc();
+ void *realloc();
+ void *calloc();
+ void free();
+-#ifdef ANSI
+-int sprintf(char *, const char *, ...);
+-#else
+-int sprintf();
+-#endif
+ #endif
+ char *mktemp();
+ char *getenv();