openbsd-ports/www/swiggle/patches/patch-Makefile
rpe 0cfebc8e16 import swiggle 0.4 from openbsd-wip
swiggle is a small command line tool that generates HTML pages,
including thumbnail indexes, for given images (a so called
"web gallery"). It's intended to be easy to use, and since
it is written in C, it's quite speedy.

with feedback from ajacoutot@ and sthen@
ok sthen@ and Sergey Bronnikov (MAINTAINER
2012-12-05 07:38:15 +00:00

15 lines
491 B
Plaintext

$OpenBSD: patch-Makefile,v 1.1.1.1 2012/12/05 07:38:15 rpe Exp $
--- Makefile.orig Wed Oct 22 23:01:18 2003
+++ Makefile Mon Nov 5 08:49:51 2012
@@ -5,8 +5,8 @@ CC = gcc
PROGRAM = swiggle
OBJS = swiggle.o resize.o html.o
HEADER = swiggle.h
-CFLAGS += -Wall -I/usr/local/include -I/usr/local/include/libexif
-LDFLAGS += -L/usr/local/lib -ljpeg -lexif
+CFLAGS += -Wall -I${LOCALBASE}/include -I${LOCALBASE}/include/libexif
+LDFLAGS += -L${LOCALBASE}/lib -ljpeg -lexif
all: ${PROGRAM}