aboutsummaryrefslogtreecommitdiff
path: root/lang
diff options
context:
space:
mode:
authorYing-Chieh Liao <ijliao@FreeBSD.org>2002-01-01 06:59:34 +0000
committerYing-Chieh Liao <ijliao@FreeBSD.org>2002-01-01 06:59:34 +0000
commit7b2e9aafb8cdd0f9f3de117ef7a969387779664f (patch)
tree558825830548a05e8ac78f1f494eaa5cbfe09ce7 /lang
parentc96195bfcf3ed116f5d92604201ee7cbb9f6554b (diff)
downloadports-7b2e9aafb8cdd0f9f3de117ef7a969387779664f.tar.gz
ports-7b2e9aafb8cdd0f9f3de117ef7a969387779664f.zip
Notes
Diffstat (limited to 'lang')
-rw-r--r--lang/sxm/Makefile9
-rw-r--r--lang/sxm/distinfo2
-rw-r--r--lang/sxm/files/patch-Makefile11
3 files changed, 17 insertions, 5 deletions
diff --git a/lang/sxm/Makefile b/lang/sxm/Makefile
index 00676d4877ae..e7ccfb17b541 100644
--- a/lang/sxm/Makefile
+++ b/lang/sxm/Makefile
@@ -7,18 +7,19 @@
#
PORTNAME= sxm
-PORTVERSION= 1.0
+PORTVERSION= 1.1
CATEGORIES= lang
MASTER_SITES= http://www.malgil.com/sxm/
-MAINTAINER= ijliao@FreeBSD.org
+MAINTAINER= ports@FreeBSD.org
USE_GMAKE= yes
ALL_TARGET= all image Formlist
MAN1= sxm.1 sxi.1
-post-extract:
- @${PERL} -pi -e "s|/usr/local|${PREFIX}|g" ${WRKSRC}/Makefile
+post-patch:
+ @${PERL} -pi -e "s|/usr/local|${PREFIX}|g ; \
+ s,^CC,#CC,g" ${WRKSRC}/Makefile
.include <bsd.port.mk>
diff --git a/lang/sxm/distinfo b/lang/sxm/distinfo
index 643c9b0d5b30..fef0e1511e98 100644
--- a/lang/sxm/distinfo
+++ b/lang/sxm/distinfo
@@ -1 +1 @@
-MD5 (sxm-1.0.tar.gz) = 9fa9b81e348bd65bb1b2989a29df4aaf
+MD5 (sxm-1.1.tar.gz) = 1e0ffbc24f9139272cc788495ee000a0
diff --git a/lang/sxm/files/patch-Makefile b/lang/sxm/files/patch-Makefile
new file mode 100644
index 000000000000..d6b5c4d05ca5
--- /dev/null
+++ b/lang/sxm/files/patch-Makefile
@@ -0,0 +1,11 @@
+--- Makefile.orig Tue Jan 1 14:56:42 2002
++++ Makefile Tue Jan 1 14:57:17 2002
+@@ -20,7 +20,7 @@
+
+ INSTALL = install
+ CDEFS = CS=CS_ANSI $(CPPTABLES) SXMPATH=\"$(INSTALL_ROOT)$(bindir)/$(engine)\"
+-CFLAGS = -Wall -pedantic -O2 $(CDEFS:%=-D%)
++CFLAGS += $(CDEFS:%=-D%)
+
+ # destinations for installer
+ prefix=/usr/local