summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--devel/libmba/Makefile5
-rw-r--r--devel/libmba/files/patch-mktool.c23
-rw-r--r--textproc/domc/Makefile2
-rw-r--r--textproc/rtfx/Makefile1
4 files changed, 27 insertions, 4 deletions
diff --git a/devel/libmba/Makefile b/devel/libmba/Makefile
index 1688617908a4..5fed64e635fa 100644
--- a/devel/libmba/Makefile
+++ b/devel/libmba/Makefile
@@ -3,6 +3,7 @@
PORTNAME= libmba
PORTVERSION= 0.9.1
+PORTREVISION= 1
CATEGORIES= devel
MASTER_SITES= http://www.ioplex.com/~miallen/libmba/dl/ \
${MASTER_SITE_LOCAL}
@@ -13,12 +14,10 @@ COMMENT= Collection of C modules potentially useful to any project
MAKE_JOBS_UNSAFE= yes
USE_LDCONFIG= yes
-MAKE_ARGS= PREFIX=${STAGEDIR}${PREFIX}
+MAKE_ARGS= prefix="${STAGEDIR}${PREFIX}"
post-patch:
@${REINPLACE_CMD} -e 's,-g,$$(CFLAGS),' \
- -e '/^prefix/s/=/?=/' \
- -e 's/prefix/PREFIX/' \
${WRKSRC}/Makefile
@${REINPLACE_CMD} -Ee 's,"g?cc","${CC}",' \
${WRKSRC}/mktool.c
diff --git a/devel/libmba/files/patch-mktool.c b/devel/libmba/files/patch-mktool.c
new file mode 100644
index 000000000000..177a9ddf9f91
--- /dev/null
+++ b/devel/libmba/files/patch-mktool.c
@@ -0,0 +1,23 @@
+--- mktool.c~
++++ mktool.c
+@@ -89,18 +89,18 @@ static const char *arg_array[32] = {
+ "lib%n.%1.%2.%3.dylib",
+ "lib%n.%1.%2.dylib",
+ "lib%n.dylib",
+ "darwin",
+-#elif defined(__FreeBSD__) || defined(__NetBSD__)
++#elif defined(__DragonFly__) || defined(__FreeBSD__) || defined(__NetBSD__)
+ "gcc",
+ " -g",
+ " -Wall -W",
+ " -Wall -W -ansi -pedantic",
+ " -std=c99",
+ " -std=c89",
+ " -fpic",
+ " -fPIC",
+- " -Wl,-soname,lib%n.so.%1.%2",
++ " -Wl,-soname,lib%n.so.%1",
+ "",
+ " -shared",
+ " -Wl,-rpath,%s",
+ "lib%n.so.%1",
diff --git a/textproc/domc/Makefile b/textproc/domc/Makefile
index 5874a57ecdca..5c524c6b5807 100644
--- a/textproc/domc/Makefile
+++ b/textproc/domc/Makefile
@@ -3,7 +3,7 @@
PORTNAME= domc
PORTVERSION= 0.8.0
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= textproc
MASTER_SITES= http://www.ioplex.com/~miallen/domc/dl/
diff --git a/textproc/rtfx/Makefile b/textproc/rtfx/Makefile
index 28ad5f41b7f7..d1c537ecf8ad 100644
--- a/textproc/rtfx/Makefile
+++ b/textproc/rtfx/Makefile
@@ -3,6 +3,7 @@
PORTNAME= rtfx
PORTVERSION= 1.1
+PORTREVISION= 1
CATEGORIES= textproc
MASTER_SITES= http://memberwebs.com/stef/software/rtfx/