openbsd-ports/x11/isomaster/patches/patch-Makefile

24 lines
1023 B
Plaintext

$OpenBSD: patch-Makefile,v 1.7 2010/01/25 09:00:03 giovanni Exp $
--- Makefile.orig Mon Jan 4 23:43:26 2010
+++ Makefile Wed Jan 20 19:34:35 2010
@@ -67,7 +67,7 @@ all: translations isomaster.desktop isomaster
isomaster: $(OBJECTS) lib iniparser
@echo 'Linking isomaster'
- @$(CC) $(OBJECTS) bk/bk.a iniparser-2.17/libiniparser.a $(LDFLAGS) $(CFLAGS) $(CPPFLAGS) `pkg-config --libs gtk+-2.0` -o isomaster
+ @$(CC) $(OBJECTS) bk/bk.a iniparser-2.17/libiniparser.a $(LDFLAGS) $(CFLAGS) $(CPPFLAGS) -lcompat `pkg-config --libs gtk+-2.0` -o isomaster
# static pattern rule
$(OBJECTS): %.o: %.c %.h bk/bk.h Makefile
@@ -113,10 +113,6 @@ endif
$(INSTALL) -m 644 isomaster.1 $(DESTDIR)$(MYMANPATH)
$(INSTALL) -d $(DESTDIR)$(DESKTOPPATH)
$(INSTALL) -m 644 isomaster.desktop $(DESTDIR)$(DESKTOPPATH)
- $(INSTALL) -d $(DESTDIR)$(MYDOCPATH)
- for FILE in bkisofs-manual/*html; do \
- $(INSTALL) -m 644 $$FILE $(DESTDIR)$(MYDOCPATH); \
- done;
uninstall:
$(RM) -f $(DESTDIR)$(BINPATH)/isomaster