diff options
author | kris <kris@FreeBSD.org> | 2002-03-31 11:20:17 +0800 |
---|---|---|
committer | kris <kris@FreeBSD.org> | 2002-03-31 11:20:17 +0800 |
commit | d0ae88ab9c6824e47d95146cc577a9106545d48c (patch) | |
tree | c7c8e37a5bfae112d4e902fefadd0391d61769d7 /korean | |
parent | b6df2116ac070e5bddcf45ebf3e07e67ebf096c4 (diff) | |
download | freebsd-ports-gnome-d0ae88ab9c6824e47d95146cc577a9106545d48c.tar.gz freebsd-ports-gnome-d0ae88ab9c6824e47d95146cc577a9106545d48c.tar.zst freebsd-ports-gnome-d0ae88ab9c6824e47d95146cc577a9106545d48c.zip |
Remove #include <malloc.h>
Respect CFLAGS
Diffstat (limited to 'korean')
-rw-r--r-- | korean/hpscat/Makefile | 4 | ||||
-rw-r--r-- | korean/hpscat/files/patch-aa | 45 |
2 files changed, 22 insertions, 27 deletions
diff --git a/korean/hpscat/Makefile b/korean/hpscat/Makefile index c0a60caead6a..571a6bfa9e3c 100644 --- a/korean/hpscat/Makefile +++ b/korean/hpscat/Makefile @@ -20,6 +20,10 @@ MAINTAINER= cjh@FreeBSD.org RUN_DEPENDS= hcode:${PORTSDIR}/korean/hcode +pre-patch: + @${PERL} -pi -e 's,<malloc.h>,<stdlib.h>,' \ + ${WRKSRC}/hpscat.h + pre-configure: ${CP} ${FILESDIR}/hpscat.sh ${WRKSRC}/ diff --git a/korean/hpscat/files/patch-aa b/korean/hpscat/files/patch-aa index e8fbf3894bed..a20c03072edd 100644 --- a/korean/hpscat/files/patch-aa +++ b/korean/hpscat/files/patch-aa @@ -1,27 +1,18 @@ -*** Makefile.orig Thu Nov 23 00:42:41 1995 ---- Makefile Fri Apr 4 13:44:29 1997 -*************** -*** 11,20 **** - DADVHF = -DADV_HFONT - #DADVHF = - # define if you want to make the default paper size US letter instead of A4 -! DUS = -DUS_VERSION -! #DUS = - CFLAGS = -O $(DHPS) $(DADVHF) $(DUS) - LDFLAGS = -s - - $(PRG): $(OBJ) - $(CC) $(LDFLAGS) -o $@ $(OBJ) ---- 11,22 ---- - DADVHF = -DADV_HFONT - #DADVHF = - # define if you want to make the default paper size US letter instead of A4 -! #DUS = -DUS_VERSION -! DUS = - CFLAGS = -O $(DHPS) $(DADVHF) $(DUS) - LDFLAGS = -s -+ -+ all: $(PRG) - - $(PRG): $(OBJ) - $(CC) $(LDFLAGS) -o $@ $(OBJ) +--- Makefile.orig Wed Nov 22 07:42:41 1995 ++++ Makefile Sat Mar 30 19:22:22 2002 +@@ -11,10 +11,12 @@ + DADVHF = -DADV_HFONT + #DADVHF = + # define if you want to make the default paper size US letter instead of A4 +-DUS = -DUS_VERSION +-#DUS = +-CFLAGS = -O $(DHPS) $(DADVHF) $(DUS) ++#DUS = -DUS_VERSION ++DUS = ++CFLAGS += $(DHPS) $(DADVHF) $(DUS) + LDFLAGS = -s ++ ++all: $(PRG) + + $(PRG): $(OBJ) + $(CC) $(LDFLAGS) -o $@ $(OBJ) |