Index: head/archivers/dzip/Makefile =================================================================== --- head/archivers/dzip/Makefile (revision 381522) +++ head/archivers/dzip/Makefile (revision 381523) @@ -1,36 +1,35 @@ # Created by: Alexey Dokuchaev # $FreeBSD$ PORTNAME= dzip PORTVERSION= 2.9 CATEGORIES= archivers games MASTER_SITES= http://speeddemosarchive.com/dzip/ DISTNAME= dz${PORTVERSION:S/.//g}src MAINTAINER= ports@FreeBSD.org COMMENT= File compression utility specializing in Quake demo compression LICENSE= ZLIB -USES= dos2unix zip +USES= dos2unix gmake zip NO_WRKSUBDIR= yes MAKEFILE= ${WRKSRC}/Makefile.linux MAKE_ARGS= CC="${CC}" CFLAGS="${CFLAGS}" ALL_TARGET= ${PORTNAME} PLIST_FILES= bin/${PORTNAME} post-extract: .SILENT ${REINPLACE_CMD} -e 's/ifdef BIG_ENDIAN/if BYTE_ORDER == BIG_ENDIAN/' \ -e 's/ifndef BIG_ENDIAN/if BYTE_ORDER == LITTLE_ENDIAN/' \ ${WRKSRC}/dzip.h ${WRKSRC}/conmain.c ${REINPLACE_CMD} -e '4s,^,#include ,' \ ${WRKSRC}/dzip.h - ${REINPLACE_CMD} -e 's/) $$(OBJECTS/&:T/' ${MAKEFILE} ${REINPLACE_CMD} -e '21d;23d' ${WRKSRC}/dzipcon.h do-install: ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}/${PREFIX}/bin .include Index: head/devel/luafilesystem/Makefile =================================================================== --- head/devel/luafilesystem/Makefile (revision 381522) +++ head/devel/luafilesystem/Makefile (revision 381523) @@ -1,40 +1,41 @@ # Created by: Kelly Hays # $FreeBSD$ PORTNAME= luafilesystem PORTVERSION= 1.6.3 CATEGORIES= devel PKGNAMEPREFIX= ${LUA_PKGNAMEPREFIX} MAINTAINER= fiziologus@gmail.com COMMENT= Library to access directory structure and file attributes LICENSE= MIT USES?= lua +USES+= gmake USE_GITHUB= yes GH_ACCOUNT= keplerproject GH_TAGNAME= v_${PORTVERSION:S/./_/g} GH_COMMIT= 8014725 ALL_TARGET= lib PLIST_FILES= %%LUA_MODLIBDIR%%/lfs.so PORTDOCS= * MAKE_ARGS+= INCS="-I${LUA_INCDIR}" OPTIONS_DEFINE= DOCS post-patch: ${REINPLACE_CMD} -e \ "s|%%PREFIX%%|${PREFIX}| ; \ s|%%MODLIBDIR%%|${LUA_MODLIBDIR}| ; \ s|%%INCDIR%%|${LUA_INCDIR}|" ${WRKSRC}/config post-install: ${MKDIR} ${STAGEDIR}${DOCSDIR} && \ ${INSTALL_DATA} ${WRKSRC}/doc/us/* ${STAGEDIR}${DOCSDIR} .include Index: head/devel/luafilesystem/files/patch-Makefile =================================================================== --- head/devel/luafilesystem/files/patch-Makefile (revision 381522) +++ head/devel/luafilesystem/files/patch-Makefile (revision 381523) @@ -1,20 +1,20 @@ --- Makefile.orig 2015-01-17 21:15:55.311388044 +0300 +++ Makefile 2015-01-17 21:16:41.813384957 +0300 @@ -12,14 +12,14 @@ lib: src/lfs.so src/lfs.so: $(OBJS) - MACOSX_DEPLOYMENT_TARGET="10.3"; export MACOSX_DEPLOYMENT_TARGET; $(CC) $(CFLAGS) $(LIB_OPTION) -o src/lfs.so $(OBJS) -+ $(CC) $(CFLAGS) $(LIB_OPTION) -o src/lfs.so $T.o ++ $(CC) $(CFLAGS) $(LIB_OPTION) -o src/lfs.so $(OBJS) test: lib LUA_CPATH=./src/?.so lua tests/test.lua install: - mkdir -p $(LUA_LIBDIR) - cp src/lfs.so $(LUA_LIBDIR) + mkdir -p $(DESTDIR)$(LUA_LIBDIR) + cp src/lfs.so $(DESTDIR)$(LUA_LIBDIR) clean: rm -f src/lfs.so $(OBJS) Index: head/net/redir/Makefile =================================================================== --- head/net/redir/Makefile (revision 381522) +++ head/net/redir/Makefile (revision 381523) @@ -1,21 +1,22 @@ # Created by: Mark Pulford # $FreeBSD$ PORTNAME= redir PORTVERSION= 2.2.1 PORTREVISION= 2 CATEGORIES= net MASTER_SITES= http://sammy.net/~sammy/hacks/ MAINTAINER= ports@FreeBSD.org COMMENT= TCP connection redirection utility +USES= gmake USE_RC_SUBR= redir PLIST_FILES= bin/redir man/man1/redir.1.gz do-install: ${INSTALL_PROGRAM} ${WRKSRC}/redir ${STAGEDIR}${PREFIX}/bin ${INSTALL_MAN} ${WRKSRC}/redir.man ${STAGEDIR}${MANPREFIX}/man/man1/redir.1 .include Index: head/net/redir/files/patch-Makefile =================================================================== --- head/net/redir/files/patch-Makefile (revision 381522) +++ head/net/redir/files/patch-Makefile (revision 381523) @@ -1,34 +1,25 @@ --- Makefile.orig Mon Dec 27 07:21:55 1999 +++ Makefile Tue Apr 10 17:56:11 2001 @@ -1,7 +1,7 @@ ### user configuration section # if your system lacks getopt_long(), remove the comment from this line -GETOPT_OBJS = # getopt/getopt.o getopt/getopt1.o +GETOPT_OBJS = getopt/getopt.o getopt/getopt1.o # if your system lacks strrchr() or strdup(), edit this line STR_CFLAGS = # -DNEED_STRRCHR -DNEED_STRDUP @@ -27,12 +27,11 @@ ### end of user configuration section # redir requires gcc. if you're lucky, another compiler might work. -CC = gcc # if your system lacks getopt_long, remove the comment from this line OBJS = redir.o $(GETOPT_OBJS) -CFLAGS = -O2 -Wall $(STR_CFLAGS) $(WRAP_CFLAGS) $(EXTRA_CFLAGS) +CFLAGS += -Wall -Igetopt $(STR_CFLAGS) $(WRAP_CFLAGS) $(EXTRA_CFLAGS) LDFLAGS = -s # solaris, and others, may also need these libraries to link -@@ -49,7 +48,7 @@ - rm -f $(OBJS) redir core - - redir: ${OBJS} -- ${CC} ${LDFLAGS} -o redir ${OBJS} ${LIBS} -+ ${CC} ${LDFLAGS} -o redir redir.o getopt.o getopt1.o ${LIBS} - - - Index: head/sysutils/xacpim/Makefile =================================================================== --- head/sysutils/xacpim/Makefile (revision 381522) +++ head/sysutils/xacpim/Makefile (revision 381523) @@ -1,19 +1,20 @@ # Created by: henriknj@0xmilk.org # $FreeBSD$ PORTNAME= xacpim PORTVERSION= 0.1.1 PORTREVISION= 2 CATEGORIES= sysutils MASTER_SITES= http://shapeshifter.se/pub/xacpim/ MAINTAINER= henriknj@0xmilk.org COMMENT= Utility to display battery status and temperature on the root-display +USES= gmake USE_XORG= x11 PLIST_FILES= bin/xacpim do-install: @${INSTALL_PROGRAM} ${WRKSRC}/xacpim ${STAGEDIR}${PREFIX}/bin/xacpim .include Index: head/sysutils/xacpim/files/patch-Makefile =================================================================== --- head/sysutils/xacpim/files/patch-Makefile (revision 381522) +++ head/sysutils/xacpim/files/patch-Makefile (revision 381523) @@ -1,15 +1,15 @@ --- Makefile.orig Tue Dec 23 16:18:59 2003 +++ Makefile Fri May 21 16:40:21 2004 @@ -1,10 +1,9 @@ -CC = gcc -CFLAGS = -O2 -ansi -Wall -L/usr/X11R6/lib -I/usr/X11R6/include +CFLAGS += -L${LOCALBASE}/lib -I${LOCALBASE}/include OBJS = main.o graphics.o sys.o osdep/freebsd.o all:: ${OBJS} - ${CC} -o xacpim *.o -lX11 -L/usr/X11R6/lib -I/usr/X11R6/include -+ ${CC} -o xacpim *.o -lX11 -L${LOCALBASE}/lib -I${LOCALBASE}/include ++ ${CC} -o xacpim ${OBJS} -lX11 -L${LOCALBASE}/lib -I${LOCALBASE}/include install:: xacpim strip xacpim Index: head/x11/wmcliphist/Makefile =================================================================== --- head/x11/wmcliphist/Makefile (revision 381522) +++ head/x11/wmcliphist/Makefile (revision 381523) @@ -1,30 +1,30 @@ # Created by: Patrick Li # $FreeBSD$ PORTNAME= wmcliphist PORTVERSION= 1.0 PORTREVISION= 1 CATEGORIES= x11 windowmaker MASTER_SITES= http://linux.nawebu.cz/wmcliphist/ \ ${MASTER_SITE_LOCAL} MASTER_SITE_SUBDIR= uqs MAINTAINER= uqs@FreeBSD.org COMMENT= Clipboard history management dockapp for Window Maker SUB_FILES= pkg-message WRKSRC= ${WRKDIR}/${PORTNAME} -USES= pkgconfig +USES= gmake pkgconfig USE_GNOME= gtk20 USE_XORG= x11 OPTIONS_DEFINE= DOCS do-install: @${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} @${INSTALL_DATA} ${WRKSRC}/wmcliphistrc ${STAGEDIR}${EXAMPLESDIR} @${MKDIR} ${STAGEDIR}${DOCSDIR} @${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR} .include Index: head/x11/wmcliphist/files/patch-Makefile =================================================================== --- head/x11/wmcliphist/files/patch-Makefile (revision 381522) +++ head/x11/wmcliphist/files/patch-Makefile (revision 381523) @@ -1,32 +1,23 @@ --- Makefile.orig +++ Makefile @@ -1,9 +1,9 @@ CC ?= gcc PREFIX = /usr/local -INCLUDES = `pkg-config --cflags gtk+-2.0` -I. -Ifoodock +INCLUDES = `pkg-config --cflags gtk+-2.0 x11` -I. -Ifoodock # for normal use -CFLAGS += -Wall -ansi -pedantic $(INCLUDES) +CFLAGS += $(INCLUDES) DEBUG = # for debuggind purposes @@ -12,7 +12,7 @@ DEBUG = #CFLAGS += -Wall -g -ansi $(INCLUDES) -DFNCALL_DEBUG #DEBUG = debug.o -LIBS = `pkg-config --libs gtk+-2.0` +LIBS = `pkg-config --libs gtk+-2.0 x11` OBJECTS = wmcliphist.o clipboard.o gui.o rcconfig.o history.o hotkeys.o utils.o $(DEBUG) TARGET = wmcliphist -@@ -23,7 +23,7 @@ lclint: - lclint $(INCLUDES) +posixlib *.c >lclint.log - - wmcliphist: $(OBJECTS) foodock/foodock.o -- $(CC) $(LDFLAGS) $(OBJECTS) foodock/foodock.o $(LIBS) -o $@ -+ $(CC) $(LDFLAGS) $(OBJECTS) foodock.o $(LIBS) -o $@ - - wmcliphist.o: wmcliphist.c wmcliphist.h \ - icon/ico_60x60_black.xpm icon/ico_60x60_gray.xpm \