summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsnj <snj@pkgsrc.org>2004-04-26 03:29:22 +0000
committersnj <snj@pkgsrc.org>2004-04-26 03:29:22 +0000
commit1022d561ca1ce408fb8fcecd54870b77f5c63ba2 (patch)
tree9db78bf9630d73fa22580de238777133505819ac
parentef91fc7cb35eba882a6e2881cf11c0470f675867 (diff)
downloadpkgsrc-1022d561ca1ce408fb8fcecd54870b77f5c63ba2.tar.gz
Add patch-aa. Intentionally left out of the import because it needs -ko.
-rw-r--r--www/swiggle/patches/patch-aa33
1 files changed, 33 insertions, 0 deletions
diff --git a/www/swiggle/patches/patch-aa b/www/swiggle/patches/patch-aa
new file mode 100644
index 00000000000..d1aaf2a3483
--- /dev/null
+++ b/www/swiggle/patches/patch-aa
@@ -0,0 +1,33 @@
+$NetBSD: patch-aa,v 1.1 2004/04/26 03:29:22 snj Exp $
+
+--- Makefile.orig 2004-04-21 17:57:27.000000000 -0700
++++ Makefile 2004-04-21 17:58:41.000000000 -0700
+@@ -1,12 +1,10 @@
+ # Makefile for swiggle
+ #
+ # $Id: patch-aa,v 1.1 2004/04/26 03:29:22 snj Exp $
+-CC = gcc
+ PROGRAM = swiggle
+ OBJS = swiggle.o resize.o html.o
+ HEADER = swiggle.h
+-CFLAGS += -Wall -g -I/usr/local/include -I/usr/local/include/libexif -O3
+-LDFLAGS += -L/usr/local/lib -ljpeg -lexif
++LDFLAGS += -ljpeg -lexif
+
+ .if defined(DEBUG)
+ CFLAGS += -DDEBUG
+@@ -15,12 +13,12 @@ CFLAGS += -DDEBUG
+ all: ${PROGRAM}
+
+ ${PROGRAM}: ${OBJS}
+- gcc ${CFLAGS} ${LDFLAGS} -o ${PROGRAM} ${OBJS}
++ ${CC} ${CPPFLAGS} ${CFLAGS} ${LDFLAGS} -o ${PROGRAM} ${OBJS}
+
+ ${OBJS}: ${HEADER}
+
+ install:
+- install -c -o 0 -g 0 -s swiggle /usr/local/bin
++ ${BSD_INSTALL_PROGRAM} swiggle ${PREFIX}/bin/
+
+ clean:
+ rm -f *.o *.core ${PROGRAM}