| Server IP : 82.208.35.60 / Your IP : 216.73.216.238 Web Server : Apache/2.4.55 (FreeBSD) OpenSSL/1.1.1q-freebsd PHP/7.3.31 System : FreeBSD server7.d2m.cz 12.4-RELEASE-p9 FreeBSD 12.4-RELEASE-p9 GENERIC amd64 User : studiokobylisy_cz ( 1008) PHP Version : 7.3.31 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /usr/ports/sysutils/asusoled/files/ |
Upload File : |
--- Makefile.orig 2008-09-13 03:00:29.000000000 -0400
+++ Makefile 2008-10-21 14:27:18.000000000 -0400
@@ -5,12 +5,20 @@
HDRS= asusoled.h asusoled_hw.h
PREFIX?= /usr/local
+SDL_CONFIG?= ${PREFIX}/bin/sdl-config
INCS= -I${.CURDIR} -I${PREFIX}/include
-LIBS= -L${PREFIX}/lib -lSDL_image -lSDL_ttf -lusb -lutil
+.if exists(${SDL_CONFIG})
+LIBS+= `${SDL_CONFIG} --libs`
+.else
+LIBS+= -lSDL -pthread
+.endif
+LIBS+= -L${PREFIX}/lib -lSDL_image -lSDL_ttf -lusb -lutil
CFLAGS?= -Wall -O2
-
+.if exists(${SDL_CONFIG})
+CFLAGS+= `${SDL_CONFIG} --cflags`
+.endif
.if defined(TTF_FONT)
CFLAGS+= -DDEFAULT_FONT=\"${TTF_FONT}\"
.endif