1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-29 21:39:24 +00:00
freebsd-ports/misc/biblereader/files/patch-aa
James E. Housley 17810e8701 I botch applying PR 22202. Fixed now.
Submitted by:	bento
2000-10-24 10:59:50 +00:00

35 lines
1.2 KiB
Plaintext

*** Makefile.orig Thu Sep 28 16:40:49 2000
--- Makefile Sat Oct 21 20:55:47 2000
***************
*** 1,6 ****
! CFLAGS=-Wall -g
! CFLAGS+=`gtk-config --cflags`
! LIBS=`gtk-config --libs gtk`
OBJS=biblereader.o books.o dictionary.o font.o history.o notes.o markup.o gui/dict_dialog.o gui/gtktextbible.o gui/gladesig.o gui/gladesrc.o gui/prefs_dialog.o prefs.o format.o
PREFIX?=/usr/local
TRANSLATION?=kjv
--- 1,6 ----
! CFLAGS=-Wall
! CFLAGS+=`${GTK_CONFIG} --cflags`
! LIBS=`${GTK_CONFIG} --libs gtk`
OBJS=biblereader.o books.o dictionary.o font.o history.o notes.o markup.o gui/dict_dialog.o gui/gtktextbible.o gui/gladesig.o gui/gladesrc.o gui/prefs_dialog.o prefs.o format.o
PREFIX?=/usr/local
TRANSLATION?=kjv
***************
*** 12,18 ****
mkdir -p ${PREFIX}/share/biblereader
biblereader: $(OBJS)
! ${CC} ${CFLAGS} -g -o $@ ${OBJS} ${LIBS}
.c.o:
${CC} ${CFLAGS} -DBIBLEPATH=\"${PREFIX}/share/biblereader/\" -DBIBLEVERSION=\"${TRANSLATION}\" -c $< -o $*.o
--- 12,18 ----
mkdir -p ${PREFIX}/share/biblereader
biblereader: $(OBJS)
! ${CC} ${CFLAGS} -o $@ ${OBJS} ${LIBS}
.c.o:
${CC} ${CFLAGS} -DBIBLEPATH=\"${PREFIX}/share/biblereader/\" -DBIBLEVERSION=\"${TRANSLATION}\" -c $< -o $*.o